aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-12-11 00:02:27 +0100
committerMattias Andrée <maandree@kth.se>2017-12-11 00:02:27 +0100
commitbce25bac36664a71d096b372ddcf69a0c1be7ad7 (patch)
tree17a475e8e0f0b0f447c759ffd9b2d4126efd0790
parentUpdate unstickpixels (diff)
downloadaur-packages-bce25bac36664a71d096b372ddcf69a0c1be7ad7.tar.gz
aur-packages-bce25bac36664a71d096b372ddcf69a0c1be7ad7.tar.bz2
aur-packages-bce25bac36664a71d096b372ddcf69a0c1be7ad7.tar.xz
Update sleeping-getty
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--sleeping-getty/PKGBUILD22
-rw-r--r--sleeping-getty/sleeping-getty.install20
2 files changed, 9 insertions, 33 deletions
diff --git a/sleeping-getty/PKGBUILD b/sleeping-getty/PKGBUILD
index 7a7007a..9adef5c 100644
--- a/sleeping-getty/PKGBUILD
+++ b/sleeping-getty/PKGBUILD
@@ -1,28 +1,24 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=sleeping-getty
-pkgver=1.0.1
+pkgver=1.1
pkgrel=1
pkgdesc="Do not start a fullblown getty before it is necessary"
arch=(i686 x86_64)
url="https://github.com/maandree/sleeping-getty"
-license=('GPL3' 'custom:GFDL1.3')
-depends=(linux glibc)
-makedepends=(linux-api-headers glibc make coreutils gcc 'texinfo>=4.11')
-install=$pkgname.install
-source=($url/archive/$pkgver.tar.gz)
-sha256sums=(f0844dc0f232fd83da1b18063e0850209996b66338120035c17c94cd8326dc31)
-
+license=('custom:ISC')
+depends=()
+makedepends=(linux-api-headers)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha256sums=(7d7303e8c7f6d543d33a1c2686f000362c42764821bf4346af7004124edb4136)
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sbindir=/usr/bin OPTIMISE=-Os
- make
+ make PREFIX=/usr
}
-
package() {
cd "$srcdir/$pkgname-$pkgver"
- make install N=: DESTDIR="$pkgdir"
+ make PREFIX=/usr install DESTDIR="$pkgdir"
+ mv -- "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
}
-
diff --git a/sleeping-getty/sleeping-getty.install b/sleeping-getty/sleeping-getty.install
deleted file mode 100644
index d66a6b1..0000000
--- a/sleeping-getty/sleeping-getty.install
+++ /dev/null
@@ -1,20 +0,0 @@
-_file="sleeping-getty"
-
-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
-}
-