summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsputnick2015-06-18 23:56:10 +0200
committersputnick2015-06-18 23:56:10 +0200
commita2642674936ecfe9238936706ed0870cdb004a84 (patch)
tree864c5fa6cbdd5fbcb0b9b3838528232d2109f536
downloadaur-a2642674936ecfe9238936706ed0870cdb004a84.tar.gz
Initial xkbset commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD42
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c9a497de10f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = xkbset
+ pkgdesc = Program to help manage many of XKB features of X window.
+ pkgver = 0.5
+ pkgrel = 2
+ url = http://www.math.missouri.edu/~stephen/software/#xkbset
+ arch = i686
+ arch = x86_64
+ license = custom:BSD
+ makedepends = coreutils
+ depends = libx11
+ optdepends = perl-tk
+ source = http://www.math.missouri.edu/~stephen/software/xkbset/xkbset-0.5.tar.gz
+ md5sums = 282c416a76a237fa84a7b513c9d7b2cf
+
+pkgname = xkbset
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e43c9d0e10c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: sputnick <gilles *dot* quenot *at* gmail>
+# Contributor: MaurĂ­cio CA <mauricio.antunes@gmail.com>
+pkgname=xkbset
+pkgver=0.5
+pkgrel=2
+pkgdesc="Program to help manage many of XKB features of X window."
+arch=(i686 x86_64)
+url="http://www.math.missouri.edu/~stephen/software/#xkbset"
+license=('custom:BSD')
+groups=()
+depends=(libx11)
+makedepends=(coreutils)
+optdepends=(perl-tk)
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=(http://www.math.missouri.edu/~stephen/software/xkbset/$pkgname-$pkgver.tar.gz)
+noextract=()
+md5sums=('282c416a76a237fa84a7b513c9d7b2cf')
+
+build() {
+ sed -r \
+ -e 's|^(X11PREFIX=/usr).*|\1|' \
+ -e 's|^(X11BASE=/usr).*|\1|' \
+ -e 's|^INC_PATH=.*|&/X11|' \
+ -e 's|^(INSTALL_MAN1=.*)(/.*/.*)|\1/share\2|' \
+ -i "$srcdir/$pkgname-$pkgver/Makefile"
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1"
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: