summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58e8f6b8a6bf359c10d3ee1b4a80fa12aa5bfdfb (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
30
31
32
33
34
# Maintainer: Benjamin Hodgetts <ben@xnode.org>

_gitname=fs-uae
pkgname=fs-uae-git
pkgver=r1272.a48fa6c0
pkgrel=1
pkgdesc="Cross-platform Amiga emulator based on UAE/WinUAE (GIT version)."
arch=("i686" "x86_64")
url="http://fs-uae.net/download-devel"
license=("GPL2")
depends=("sdl2" "libpng" "openal" "mesa" "glew" "libmpeg2" "gettext" "freetype2" "hicolor-icon-theme" "desktop-file-utils" "shared-mime-info")
source=("git+https://github.com/FrodeSolheim/fs-uae.git")
provides=("fs-uae" "fs-uae-devel")
conflicts=("fs-uae" "fs-uae-devel")
md5sums=('SKIP')


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

build() {
	cd ${_gitname}
	./bootstrap
	./configure --prefix=/usr
	make
}


package() {
	cd ${_gitname}
	make install DESTDIR="${pkgdir}"
}