aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-19 20:11:08 +0200
committerMattias Andrée <maandree@kth.se>2017-10-19 20:13:12 +0200
commit94fe3ea466e1d9cf767621bafb576cbb78eeadf4 (patch)
treecbd4bc60188631f0cd1c9d5330eb23b68994fa1a
parentUpdate xtest (diff)
downloadaur-packages-94fe3ea466e1d9cf767621bafb576cbb78eeadf4.tar.gz
aur-packages-94fe3ea466e1d9cf767621bafb576cbb78eeadf4.tar.bz2
aur-packages-94fe3ea466e1d9cf767621bafb576cbb78eeadf4.tar.xz
Update vtchs
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--vtchs/PKGBUILD28
-rw-r--r--vtchs/vtchs.install20
2 files changed, 11 insertions, 37 deletions
diff --git a/vtchs/PKGBUILD b/vtchs/PKGBUILD
index c1a51e0..7edce06 100644
--- a/vtchs/PKGBUILD
+++ b/vtchs/PKGBUILD
@@ -1,28 +1,22 @@
-# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
-
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
pkgname=vtchs
-pkgver=1.0
+pkgver=1.1
pkgrel=1
pkgdesc="Listen for VT switches"
arch=(i686 x86_64)
url="https://github.com/maandree/vtchs"
-license=('MIT' '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=(f526cbe834e6144f2591c2e9cfedc53dd9a52d6a738c5c190739c9b8aad47006)
-
+license=('ISC')
+depends=()
+makedepends=()
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(fb7cb42fc796eea4c86bb53d7257503cd73b033bf76962b420609c5b8351a37f)
build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make OPTIMISE=-Os
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr
}
-
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make install DESTDIR="$pkgdir"
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
}
-
diff --git a/vtchs/vtchs.install b/vtchs/vtchs.install
deleted file mode 100644
index 2a9f948..0000000
--- a/vtchs/vtchs.install
+++ /dev/null
@@ -1,20 +0,0 @@
-_file="vtchs"
-
-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
-}
-