diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-04-06 13:17:30 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-04-06 13:17:30 +0300 |
commit | 7a943ce1bf66aa25bfb68fd58b352edc41434073 (patch) | |
tree | 86e718a3e466e5a85e6d4e893c97de8318445751 /testing/sandy | |
parent | fc9c45bad34de663ed689ec46d28a40efd21aa76 (diff) | |
download | aports-7a943ce1bf66aa25bfb68fd58b352edc41434073.tar.bz2 aports-7a943ce1bf66aa25bfb68fd58b352edc41434073.tar.xz |
testing/sandy: fix packaging
also update the tarball checksum. probably cgit just returning the
same data encoded slightly differently with new timestamp / gzip
compression level.
Diffstat (limited to 'testing/sandy')
-rw-r--r-- | testing/sandy/APKBUILD | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/testing/sandy/APKBUILD b/testing/sandy/APKBUILD index bb5edfa6e6..ac589eef9b 100644 --- a/testing/sandy/APKBUILD +++ b/testing/sandy/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=sandy pkgver=0.4 -pkgrel=0 +pkgrel=1 pkgdesc="sandy is an ncurses text editor with an easy-to-read, hackable C source." url="http://tools.suckless.org/sandy" arch="all" @@ -11,32 +11,23 @@ depends="ncurses" depends_dev="" makedepends="$depends_dev ncurses-dev" install="" -subpackages="" +subpackages="$pkgname-doc" 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 -} +builddir=${srcdir}/${pkgname}-${pkgver} build() { - cd "$_builddir" + cd "$builddir" make || return 1 } package() { - cd "$_builddir" + 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" } -md5sums="7600dc689dd622214d9da683903a8f3b sandy-0.4.tar.gz" -sha256sums="753d2cbc3a2b446a4b7111a9a129e4dd4158754bb4195fe496e197dedd4952a7 sandy-0.4.tar.gz" -sha512sums="705c962041990e081eb6380b1d04e11755f8f7e36f50e3cc84e27cfd87259a78b281d19a0c24848008f8d001e713d730d0194c2b7474a44afcba7bfc8a7c0f6c sandy-0.4.tar.gz" +md5sums="c1bdce5873eacf4fed89b32925b1db97 sandy-0.4.tar.gz" +sha256sums="3eb6a53cce1e0a729292903f2b5d7f8ea5b3dc85e109df66088b19e7378ca4d1 sandy-0.4.tar.gz" +sha512sums="6e706cfd381f25a5ba1dcaa2ce80754b13a2dd95a6374a060a4a0bd5ac63478d60a6bb26d8e2105143a4c9d400442c0a164fa6d295babdf6480d695f188b2b90 sandy-0.4.tar.gz" |