aboutsummaryrefslogtreecommitdiffstats
path: root/vtchs/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-17 14:35:21 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-17 14:35:21 +0100
commit5d0419d3009615d8dc6a3873d696cc0c7b527211 (patch)
treed6a94d4ff1c92447c4f3d7d8af208237417c06a4 /vtchs/PKGBUILD
parentm (diff)
downloadaur-packages-5d0419d3009615d8dc6a3873d696cc0c7b527211.tar.gz
aur-packages-5d0419d3009615d8dc6a3873d696cc0c7b527211.tar.bz2
aur-packages-5d0419d3009615d8dc6a3873d696cc0c7b527211.tar.xz
add vtchs
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'vtchs/PKGBUILD')
-rw-r--r--vtchs/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/vtchs/PKGBUILD b/vtchs/PKGBUILD
new file mode 100644
index 0000000..4a754d0
--- /dev/null
+++ b/vtchs/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=vtchs
+pkgver=1.0
+pkgrel=1
+pkgdesc="Listen for VT switches"
+arch=(i686 x86_64)
+url="https://github.com/maandree/vtchs"
+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=(f526cbe834e6144f2591c2e9cfedc53dd9a52d6a738c5c190739c9b8aad47006)
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make OPTIMISE=-Os
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR="$pkgdir"
+}
+