summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanskritFritz2017-04-05 21:50:33 +0200
committerSanskritFritz2017-04-05 21:50:33 +0200
commit17abd8ec4f1edf127d01c30559e8df839cb63f6d (patch)
tree74496472de76c82cc5a1a61946762f636ee8d19e
parentc3366d6be9a822ab31a3f4b000c6ead992be843a (diff)
downloadaur-17abd8ec4f1edf127d01c30559e8df839cb63f6d.tar.gz
Upstream sources are gone, found a fork on github.
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
2 files changed, 21 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 56ee597c61cb..c8bbe7706b8f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,10 @@
+# Generated by mksrcinfo v8
+# Wed Apr 5 19:48:37 UTC 2017
pkgbase = timeoutd
pkgdesc = Flexible user timeout daemon. Enforces user login restrictions.
- pkgver = 1.5deb10.1
- pkgrel = 2
- url = http://packages.debian.org/squeeze/timeoutd
+ pkgver = 1.5u10.1
+ pkgrel = 3
+ url = https://github.com/sohonet/timeoutd
arch = i686
arch = x86_64
license = GPL
@@ -10,12 +12,10 @@ pkgbase = timeoutd
depends = libxext
depends = libxss
backup = etc/timeouts
- source = http://ftp.de.debian.org/debian/pool/main/t/timeoutd/timeoutd_1.5.orig.tar.gz
- source = http://ftp.de.debian.org/debian/pool/main/t/timeoutd/timeoutd_1.5-10.1.diff.gz
+ source = https://github.com/sohonet/timeoutd/archive/master.zip
source = makefile_arch.patch
source = timeoutd.service
- md5sums = 0be669e0111575fc5bbc8f20e27e4f88
- md5sums = 2c1ecc3417d81cda99705078244bd3e7
+ md5sums = 48ba0c3cdc6446ce8536109aad10e726
md5sums = 6f8a7ac7b8abdd40f04264ad132a81e6
md5sums = 8ced5cbe1e96e0f35e240858c1b21fb6
diff --git a/PKGBUILD b/PKGBUILD
index 71eec0547bc8..498dacf5b2b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,30 @@
# Maintainer: SanskritFritz (gmail)
pkgname=timeoutd
-pkgver=1.5deb10.1
-pkgrel=2
+pkgver=1.5u10.1
+pkgrel=3
pkgdesc="Flexible user timeout daemon. Enforces user login restrictions."
arch=('i686' 'x86_64')
-url="http://packages.debian.org/squeeze/timeoutd"
+url="https://github.com/sohonet/timeoutd"
license=('GPL')
depends=('libx11' 'libxext' 'libxss')
backup=('etc/timeouts')
-source=('http://ftp.de.debian.org/debian/pool/main/t/timeoutd/timeoutd_1.5.orig.tar.gz'
- 'http://ftp.de.debian.org/debian/pool/main/t/timeoutd/timeoutd_1.5-10.1.diff.gz'
- 'makefile_arch.patch'
- 'timeoutd.service')
+source=('https://github.com/sohonet/timeoutd/archive/master.zip'
+ 'makefile_arch.patch'
+ 'timeoutd.service')
-build() {
- cd "$srcdir/timeoutd-1.5.orig"
- patch -p1 < "../timeoutd_1.5-10.1.diff"
+prepare() {
+ cd "$srcdir/timeoutd-master"
patch -p0 < "$srcdir/makefile_arch.patch"
+}
+
+build() {
+ cd "$srcdir/timeoutd-master"
make
}
package() {
- cd "$srcdir/timeoutd-1.5.orig"
+ cd "$srcdir/timeoutd-master"
install -Dm0755 timeoutd "$pkgdir/usr/bin/timeoutd"
install -Dm0644 timeouts "$pkgdir/etc/timeouts"
install -Dm0644 timeoutd.8 "$pkgdir/usr/share/man/man8/timeoutd.8"
@@ -31,8 +33,6 @@ package() {
install -Dm0644 timeoutd.service "$pkgdir/usr/lib/systemd/system/timeoutd.service"
}
-md5sums=('0be669e0111575fc5bbc8f20e27e4f88'
- '2c1ecc3417d81cda99705078244bd3e7'
+md5sums=('48ba0c3cdc6446ce8536109aad10e726'
'6f8a7ac7b8abdd40f04264ad132a81e6'
'8ced5cbe1e96e0f35e240858c1b21fb6')
-