diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..df95957813cb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = hid-replay-git + pkgdesc = HID event recorder and utilities. + pkgver = 0.7.1.r0.g241710c + pkgrel = 1 + url = https://github.com/bentiss/hid-replay/ + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + depends = glibc + optdepends = xmlto: build manpages + optdepends = asciidoc: build manpages + provides = hid-replay + conflicts = hid-replay + options = !libtool + source = hid-replay-git::git://github.com/bentiss/hid-replay.git#branch=master + md5sums = SKIP + +pkgname = hid-replay-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..248f457cfa61 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Jason Gerecke <killertofu@gmail.com> + +pkgname=hid-replay-git +pkgver=0.7.1.r0.g241710c +pkgrel=1 +pkgdesc="HID event recorder and utilities." +arch=('i686' 'x86_64') +url="https://github.com/bentiss/hid-replay/" +license=('GPL2') +depends=('glibc') +optdepends=( + 'xmlto: build manpages' + 'asciidoc: build manpages' +) +makedepends=('git') +provides=('hid-replay') +conflicts=('hid-replay') +options=('!libtool') +source=("$pkgname"::git://github.com/bentiss/hid-replay.git#branch=master) +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + git describe --long --tags | sed -r 's/^v//;s/-/.r/; s/-/./' +} + +build() { + cd "$srcdir/$pkgname" + + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir/" install +} + |