forked from stardot/b-em
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
36 lines (32 loc) · 851 Bytes
/
PKGBUILD
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
35
36
# Arch PKGBUILD for B-Em (Allego 5 GIT Version)
# Maintainer: Steve Fosdick <[email protected]>
pkgname=b-em-a5-git
pkgver=VERSION
pkgrel=1
pkgdesc="An Emulator for the BBC Microcomputer system and Tube Processors"
arch=('x86_64' 'i686')
url="https://github.com/stardot/b-em.git"
license=('GPL')
depends=('allegro')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
source=("${pkgname%-git}::git+https://github.com/stardot/b-em.git#branch=sf/allegro5")
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}"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install
}