diff options
author | Scott Garrett | 2015-08-18 20:09:22 -0500 |
---|---|---|
committer | Scott Garrett | 2015-08-18 20:09:22 -0500 |
commit | 2c1a391e51a12c5a5c9fd0796e1d9a676986620f (patch) | |
tree | 67e5d0a680b9a0dcbb5dbd1b630b96d168be3c79 | |
download | aur-2c1a391e51a12c5a5c9fd0796e1d9a676986620f.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0c37aa1a9ae8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ps2emu-git + pkgdesc = PS/2 emulation tools for recording and playing back PS/2 devices + pkgver = v0.1.r39.gf04ff09 + pkgrel = 1 + url = https://github.com/lyude/ps2emu + arch = i686 + arch = x86_64 + license = GPL2 + provides = ps2emu + conflicts = ps2emu + source = ps2emu::git+https://github.com/Lyude/ps2emu.git#branch=master + sha512sums = SKIP + +pkgname = ps2emu-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0d27b318e748 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +_pkgname=ps2emu +pkgname=${_pkgname}-git +pkgver=v0.1.r39.gf04ff09 +pkgrel=1 +pkgdesc='PS/2 emulation tools for recording and playing back PS/2 devices' +arch=('i686' 'x86_64') +url='https://github.com/lyude/ps2emu' +license=('GPL2') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("${_pkgname}::git+https://github.com/Lyude/ps2emu.git#branch=master") +sha512sums=('SKIP') + +pkgver() { + cd "${_pkgname}" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "${_pkgname}" + ./autogen.sh --prefix=/usr --sbindir=/usr/bin + make +} + +package() { + cd "${_pkgname}" + make DESTDIR="$pkgdir" install +} |