aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ktsuss
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-04-20 11:23:06 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-04-27 07:20:13 +0000
commitce947a6ee1af6caba4b8a2cbb0bec3f490ba2e24 (patch)
tree7742dc202bfb61a719a79f68e29dc15a7843b278 /testing/ktsuss
parent0eecc344f01e57415f31798cf8c27f7f0796ad9b (diff)
downloadaports-ce947a6ee1af6caba4b8a2cbb0bec3f490ba2e24.tar.bz2
aports-ce947a6ee1af6caba4b8a2cbb0bec3f490ba2e24.tar.xz
testing/ktsuss: new aport
lightweight alternative to gksu for use with spacefm Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'testing/ktsuss')
-rw-r--r--testing/ktsuss/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/ktsuss/APKBUILD b/testing/ktsuss/APKBUILD
new file mode 100644
index 0000000000..899e8db40c
--- /dev/null
+++ b/testing/ktsuss/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=ktsuss
+pkgver=2.1
+pkgrel=0
+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=""
+subpackages="$pkgname-doc"
+source="saveas-https://github.com/nomius/$pkgname/archive/$pkgver.tar.gz/${pkgname}-${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
+}
+
+build() {
+ cd "$_builddir"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}
+
+md5sums="812ef25c189af1998b66a5403a12fff9 ktsuss-2.1.tar.gz"
+sha256sums="f65f5083e61abc12f5b546ef43efdc8ef55cd8c7fbee27cedc0f42ff329b34ac ktsuss-2.1.tar.gz"
+sha512sums="980c184947ebac91f936cad9cd74050e42e57da39f13cca3b9ec0ec44a16265243a1e6f570a2027435234084c1e15ce28b3dc6389d7831237c762b1aafb99507 ktsuss-2.1.tar.gz"