blob: 1704d0a1565e12291dc27fc68500204cf0a67437 (
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.31
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=('ffb6401eeca5ce0e7ca94bc07ed294de157c344c2e6ce089fc48428fe71cb5de237d4dcb2442f51fbdf96cde7bf6050cb9d200b47fdeeab3ee6f9bb6c1c4a344')
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"
}
|