aboutsummaryrefslogtreecommitdiffstats
path: root/testing/n30f
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-05-13 23:18:07 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-07 13:05:15 +0000
commit1473297ec96ceba75e6f162dd1ac0fa361b1fccd (patch)
tree7e02bf5c7c67f45ffcce8fe9a8af2a40cc3031e9 /testing/n30f
parent8ae9b5900336c28cebdb3e13154a20f58d8bae19 (diff)
downloadaports-1473297ec96ceba75e6f162dd1ac0fa361b1fccd.tar.bz2
aports-1473297ec96ceba75e6f162dd1ac0fa361b1fccd.tar.xz
testing/n30f: upgrade to 2.0 and modernize
Diffstat (limited to 'testing/n30f')
-rw-r--r--testing/n30f/APKBUILD14
1 files changed, 5 insertions, 9 deletions
diff --git a/testing/n30f/APKBUILD b/testing/n30f/APKBUILD
index b6646baf22..11d81437e0 100644
--- a/testing/n30f/APKBUILD
+++ b/testing/n30f/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Camille Scholtz <onodera@openmailbox.org>
# Maintainer: Camille Scholtz <onodera@openmailbox.org>
pkgname=n30f
-pkgver=1.0
+pkgver=2.0
pkgrel=0
pkgdesc="a quick hack to display a png in a borderless and transparent non-wm-managed window"
url="https://github.com/sdhand/n30f"
@@ -10,21 +10,17 @@ license="BSD"
depends=""
depends_dev="cairo-dev libxcb-dev"
makedepends="$depends_dev"
-install=""
-subpackages=""
-source="saveas-https://github.com/sdhand/$pkgname/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/sdhand/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
- make || return 1
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="263c35f82a4bc716bd19837bab84826e n30f-1.0.tar.gz"
-sha256sums="be2983af3c7d84dbee799220af98c1d18b976bcb119dab0e1ededc8262dd10d4 n30f-1.0.tar.gz"
-sha512sums="8c716e436c3a82883641ee911fb51abb06ce9faaeb0fee1af7ee5a3a12a8094dfb4cba8c209752c50ede4feff8b035a4d0901e1913dcdcc6f4d7590a30782700 n30f-1.0.tar.gz"
+sha512sums="e500cc1699c456f56aab027b747a9792ac0c7b6a0b88d90faf793d109ce5abfbba4a09d8bafc1e5e84143d7fc31bf14cac0b17498424878254af49ebf61e94a8 n30f-2.0.tar.gz"