aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-05-23 06:53:03 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-05-23 06:53:49 -0300
commit7fb989138d1e68df49e795bd3a562b3160e105b8 (patch)
tree40820b0ec4e961d4d7ab1fcfebdfbb94f4bf8e9a
parent0e71e8802f50c8f28a1f4d2e6f9fb614a369ad80 (diff)
downloadaports-7fb989138d1e68df49e795bd3a562b3160e105b8.tar.gz
aports-7fb989138d1e68df49e795bd3a562b3160e105b8.tar.bz2
aports-7fb989138d1e68df49e795bd3a562b3160e105b8.tar.xz
community/ktsuss: modernize
-rw-r--r--community/ktsuss/APKBUILD30
1 files changed, 9 insertions, 21 deletions
diff --git a/community/ktsuss/APKBUILD b/community/ktsuss/APKBUILD
index cd24b94406..012258e973 100644
--- a/community/ktsuss/APKBUILD
+++ b/community/ktsuss/APKBUILD
@@ -2,40 +2,28 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=ktsuss
pkgver=2.1
-pkgrel=0
+pkgrel=1
pkgdesc="Graphical version of su written in C and GTK+ (gksu alternative)"
url="https://github.com/nomius/ktsuss"
arch="all"
-license="BSD"
-depends=""
-depends_dev=""
-makedepends="$depends_dev gtk+2.0-dev bash libtool m4 autoconf automake"
-install=""
+license="BSD-3-Clause"
+makedepends="gtk+2.0-dev bash libtool m4 autoconf automake"
subpackages="$pkgname-doc"
-source="${pkgname}-${pkgver}.tar.gz::https://github.com/nomius/$pkgname/archive/$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/nomius/ktsuss/archive/$pkgver.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
+ default_prepare
+ ./autogen.sh
}
build() {
- cd "$_builddir"
- ./autogen.sh
./configure --prefix=/usr
- make || return 1
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="${pkgdir}" install
- install -D -m644 COPYING "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+ make DESTDIR="$pkgdir" install
+ install -D -m644 COPYING "$pkgdir/usr/share/doc/$pkgname/COPYING"
}
sha512sums="980c184947ebac91f936cad9cd74050e42e57da39f13cca3b9ec0ec44a16265243a1e6f570a2027435234084c1e15ce28b3dc6389d7831237c762b1aafb99507 ktsuss-2.1.tar.gz"