# Contributor: # Maintainer: setglobal pkgname = 'sandy' setglobal pkgver = '0.4' setglobal pkgrel = '2' setglobal pkgdesc = '"sandy is an ncurses text editor with an easy-to-read, hackable C source.'" setglobal url = '"http://tools.suckless.org/sandy'" setglobal arch = '"all'" setglobal license = '"MIT'" setglobal depends = '"ncurses'" setglobal depends_dev = ''"" setglobal makedepends = ""$depends_dev ncurses-dev"" setglobal install = ''"" setglobal subpackages = ""$pkgname-doc"" setglobal source = ""http://git.suckless.org/sandy/snapshot/sandy-$pkgver.tar.bz2"" setglobal builddir = "$(srcdir)/$(pkgname)-$(pkgver)" proc build { cd $builddir make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" PREFIX=/usr install || return 1 install -d "$pkgdir"/usr/share/licenses/"$pkgname" install -m644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname" } setglobal md5sums = '"cfa8e64013d64151fb7efd4f0161eea8 sandy-0.4.tar.bz2'" setglobal sha256sums = '"d30336704178611f36a55982932369c6dd55a781e22735bb7dfcb3e4b939492a sandy-0.4.tar.bz2'" setglobal sha512sums = '"3579436d6566b9ef3273abb7bb1d8934901155220edb963a0ed93db4b860e1e3fa0d0f1235ea87b42f1b6ddbb69e3ef1f5ba7a2e9455d6659b621d9a4e3f25c2 sandy-0.4.tar.bz2'"