aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sandy
diff options
context:
space:
mode:
authorsystmkor <systmkor@gmail.com>2015-04-10 18:14:32 -0700
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-04-16 13:09:52 +0000
commit496e13e508a77c2431982698f3baa63bee4a1168 (patch)
tree1d27fb0f430896053620d5e5294408a589e11175 /testing/sandy
parent223209328986d4affa2cbd2b330eb07d357c526c (diff)
downloadaports-496e13e508a77c2431982698f3baa63bee4a1168.tar.bz2
aports-496e13e508a77c2431982698f3baa63bee4a1168.tar.xz
testing/sandy: new aport
sandy is an ncurses text editor with an easy-to-read, hackable C source http://tools.suckless.org/sandy Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'testing/sandy')
-rw-r--r--testing/sandy/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/sandy/APKBUILD b/testing/sandy/APKBUILD
new file mode 100644
index 0000000000..0d3d02e3c8
--- /dev/null
+++ b/testing/sandy/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor:
+# Maintainer:
+pkgname=sandy
+pkgver=0.4
+pkgrel=0
+pkgdesc="sandy is an ncurses text editor with an easy-to-read, hackable C source."
+url="http://tools.suckless.org/sandy"
+arch="all"
+license="MIT"
+depends="ncurses"
+depends_dev=""
+makedepends="$depends_dev ncurses-dev"
+install=""
+subpackages=""
+source="http://git.suckless.org/sandy/snapshot/sandy-0.4.tar.gz"
+
+_builddir=${srcdir}/${pkgname}-${pkgver}
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+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"
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="7600dc689dd622214d9da683903a8f3b sandy-0.4.tar.gz"
+sha256sums="753d2cbc3a2b446a4b7111a9a129e4dd4158754bb4195fe496e197dedd4952a7 sandy-0.4.tar.gz"
+sha512sums="705c962041990e081eb6380b1d04e11755f8f7e36f50e3cc84e27cfd87259a78b281d19a0c24848008f8d001e713d730d0194c2b7474a44afcba7bfc8a7c0f6c sandy-0.4.tar.gz"