summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 60aa151ad537df45a4ade9382aedcf8faf33ecfa (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
29
# Maintainer: Darvin Delgado <dnmodder@gmail.com>
pkgname=noods-git
pkgver=r448.1c19eca
pkgrel=1
pkgdesc="A (hopefully!) speedy NDS emulator."
arch=('x86_64')
url="https://github.com/Hydr8gon/NooDS"
license=('GPL3')
depends=('wxgtk3' 'portaudio')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("noods::git+${url}")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/${pkgname%-git}"
	make
}

package() {
	cd "$srcdir/${pkgname%-git}"
	make DESTDIR="$pkgdir/usr" install
}