diff options
author | Valère Monseur | 2015-06-08 21:23:15 +0200 |
---|---|---|
committer | Valère Monseur | 2015-06-08 21:23:15 +0200 |
commit | 1edc6a0efe2574004f524e8a0ccd42acee061181 (patch) | |
tree | af92a4f38871653768bf2756410f6f8e0731fc1a | |
download | aur-1edc6a0efe2574004f524e8a0ccd42acee061181.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ba22bd61b976 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ktsuss + pkgdesc = Graphical version of su written in C and GTK+ + pkgver = 2.1 + pkgrel = 1 + url = https://github.com/nomius/ktsuss + arch = i686 + arch = x86_64 + license = BSD + depends = gtk2 + provides = ktsuss + conflicts = ktsuss-git + source = https://github.com/nomius/ktsuss/releases/download/2.1/ktsuss-2.1.tar.gz + md5sums = 47f3fa8a3a25862949ece6f5ba098577 + +pkgname = ktsuss + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..75546da8c71f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Valere Monseur <valere dot monseur at ymail dot com> +# Contributor: Alexander Fehr <pizzapunk gmail com> + +pkgname=ktsuss +pkgver=2.1 +pkgrel=1 +pkgdesc='Graphical version of su written in C and GTK+' +arch=('i686' 'x86_64') +url="https://github.com/nomius/ktsuss" +license=('BSD') +depends=('gtk2') +provides=('ktsuss') +conflicts=('ktsuss-git') +source=("https://github.com/nomius/${pkgname}/releases/download/2.1/${pkgname}-${pkgver}.tar.gz") +md5sums=('47f3fa8a3a25862949ece6f5ba098577') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} |