blob: 0d27b318e748bba1a66b98568e2971b3fbdf4930 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}
|