aboutsummaryrefslogtreecommitdiffstats
path: root/cerberus-securetty
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cerberus-securetty/PKGBUILD30
-rw-r--r--cerberus-securetty/cerberus-securetty.install20
l---------cerberus-securetty/upload (renamed from dooble-qt4/upload)0
3 files changed, 50 insertions, 0 deletions
diff --git a/cerberus-securetty/PKGBUILD b/cerberus-securetty/PKGBUILD
new file mode 100644
index 0000000..3c1f63b
--- /dev/null
+++ b/cerberus-securetty/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>
+
+pkgname=cerberus-securetty
+pkgver=1428445363
+pkgrel=1
+pkgdesc="securetty support for cerberus"
+url="https://github.com/GNU-Pony/cerberus-securetty"
+arch=(i686 x86_64)
+license=(GPL3)
+depends=(grep coreutils sh)
+makedepends=(make coreutils texinfo)
+install=cerberus-securetty.install
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=(b63ed4b5f60b1c9731a801da01f8b04484cd930c78a56a264096d60594642fc8)
+
+build() {
+ cd "${srcdir}/cerberus-securetty-${pkgver}"
+
+ make PKGNAME="${pkgname}"
+}
+
+package() {
+ cd "${srcdir}/cerberus-securetty-${pkgver}"
+
+ make PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install
+
+ _dir="${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
+}
+
diff --git a/cerberus-securetty/cerberus-securetty.install b/cerberus-securetty/cerberus-securetty.install
new file mode 100644
index 0000000..590c85d
--- /dev/null
+++ b/cerberus-securetty/cerberus-securetty.install
@@ -0,0 +1,20 @@
+_file="cerberus-securetty"
+
+infodir="usr/share/info"
+file="${_file}.info"
+
+
+post_install() {
+ [[ -x "usr/bin/install-info" ]] || return 0
+ install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+pre_remove() {
+ [[ -x "usr/bin/install-info" ]] || return 0
+ install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
+}
+
diff --git a/dooble-qt4/upload b/cerberus-securetty/upload
index 1e7a8be..1e7a8be 120000
--- a/dooble-qt4/upload
+++ b/cerberus-securetty/upload