summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorValère Monseur2015-06-08 21:23:15 +0200
committerValère Monseur2015-06-08 21:23:15 +0200
commit1edc6a0efe2574004f524e8a0ccd42acee061181 (patch)
treeaf92a4f38871653768bf2756410f6f8e0731fc1a
downloadaur-1edc6a0efe2574004f524e8a0ccd42acee061181.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ba22bd61b97
--- /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 00000000000..75546da8c71
--- /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"
+}