blob: 8429d9bcf93baa691be0be3d2dfd7c835cfae18a (
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
|
# Maintainer: Lili1228 <aur at lili dot lgbt>
pkgname=86box-roms-git
pkgver=4.2.1.r0.g890db74
pkgrel=1
pkgdesc='ROMs for the 86Box emulator'
arch=('any')
url='https://github.com/86Box/roms'
license=('custom')
makedepends=('git')
options=('!strip')
provides=('86box-roms')
conflicts=('86box-roms')
source=("${pkgname}::git+https://github.com/86Box/roms.git")
sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/${pkgname}"
install -d "$pkgdir/usr/share/86Box/roms"
cp -R [a-z]* "$pkgdir/usr/share/86Box/roms"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|