aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
-}
-