blob: 0330ee0edd8cd43cc51062d786199aba2d2775c3 (
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
|
# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
pkgname=sdltrs
pkgver=1.2.30
pkgrel=1
arch=('x86_64')
pkgdesc="TRS-80 Model I/III/4/4P emulator"
url="https://gitlab.com/jengun/sdltrs"
license=('BSD-2-Clause')
depends=('hicolor-icon-theme' 'sdl2')
makedepends=('cmake')
source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
b2sums=('23b81e39f230fb8f6b32b09f019d845b182fe7164e8215bdc5aa46d1a9f1e835a086f92d92f6b22f6afa51c43eecee01eb7751a3e2b5467768d0397ef2e111f3')
build() {
cmake $pkgname-$pkgver \
-Bbuild \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build/
}
package() {
cd build
make DESTDIR="$pkgdir" install
install -dm0755 "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" \
-t "$pkgdir/usr/share/licenses/$pkgname"
}
|