summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD17
2 files changed, 12 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 371379e6056..6553ae679c3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sdltrs
pkgdesc = TRS-80 Model I/III/4/4P emulator
- pkgver = 1.2.14
+ pkgver = 1.2.16
pkgrel = 1
url = https://gitlab.com/jengun/sdltrs
arch = i686
@@ -10,8 +10,8 @@ pkgbase = sdltrs
makedepends = cmake
depends = hicolor-icon-theme
depends = sdl2
- source = https://gitlab.com/jengun/sdltrs/-/archive/1.2.14/sdltrs-1.2.14.tar.gz
- sha512sums = eeb759c8f3f78576105a87fd22f8e21d716863eeb2d424360a46a00cec69418d57f34c7fbd802eeab6d1a4baf5c66b6114925c6cdb4d19e634695fb821946a4e
+ source = https://gitlab.com/jengun/sdltrs/-/archive/1.2.16/sdltrs-1.2.16.tar.gz
+ sha512sums = e5f616ab09e7fd01ede7571172ccd81c5f2dcb3fffb39b7cdf97c9a18302263f1fb764d7c5401672fce9e5bf3c78f2a60a32cc40df6921cba28fb15436b7b4a1
pkgname = sdltrs
diff --git a/PKGBUILD b/PKGBUILD
index 7814936b446..474d2fd3f98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
pkgname=sdltrs
-pkgver=1.2.14
+pkgver=1.2.16
pkgrel=1
arch=('i686' 'pentium4' 'x86_64')
pkgdesc="TRS-80 Model I/III/4/4P emulator"
@@ -10,21 +10,22 @@ license=('BSD')
depends=('hicolor-icon-theme' 'sdl2')
makedepends=('cmake')
source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('eeb759c8f3f78576105a87fd22f8e21d716863eeb2d424360a46a00cec69418d57f34c7fbd802eeab6d1a4baf5c66b6114925c6cdb4d19e634695fb821946a4e')
+sha512sums=('e5f616ab09e7fd01ede7571172ccd81c5f2dcb3fffb39b7cdf97c9a18302263f1fb764d7c5401672fce9e5bf3c78f2a60a32cc40df6921cba28fb15436b7b4a1')
build() {
- mkdir -p build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ [[ -d builddir ]] && rm -r builddir
+ cmake $pkgname-$pkgver \
+ -Bbuilddir \
-DCMAKE_BUILD_TYPE=Release \
- ../$pkgname-$pkgver
- cmake --build .
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build builddir
}
package() {
- cd build
+ cd builddir
make DESTDIR="$pkgdir" install
- install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
+ install -dm0755 "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" \
-t "$pkgdir/usr/share/licenses/$pkgname"
}