blob: b134201523f49db24e3da5f1569ce7524926a72b (
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
35
|
# Maintainer: Simon Perry <aur [at] sanxion [dot] net>
# Contributor: Carson Rueter <roachh@protonmail.com>
pkgname='denise-git'
_pkgname='denise'
pkgdesc='Highly accurate C64/Amiga emulator - Git version'
url='https://sourceforge.net/projects/deniseemu/'
license=('GPL-3.0-or-later')
pkgver=2.4.r34.g15220c4
pkgrel=2
epoch=2
source=('git+https://bitbucket.org/piciji/denise.git')
sha256sums=('SKIP')
provides=('denise')
conflicts=('denise')
depends=('libpulse' 'openal' 'gtk3')
makedepends=('git' 'cmake')
arch=('x86_64')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --tags --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
cmake -DCMAKE_INSTALL_PREFIX=/usr -B builds/release
cmake --build builds/release
}
package() {
cd "$srcdir/$_pkgname"
DESTDIR="${pkgdir}" cmake --build builds/release --target install
}
|