summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTércio Martins2021-02-10 00:57:28 -0300
committerTércio Martins2021-02-10 00:57:28 -0300
commitd868bd62805fde930190c903a140df4cdb9272f2 (patch)
tree8b2ce648b4369709d4402db92fb00d4364231f80
parenta7f1f27c885e54bb27e9d1d1f7b682bb8aabdd0f (diff)
downloadaur-sdltrs.tar.gz
Update to version 1.2.15
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 371379e6056..19dfda72b93 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.15
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.15/sdltrs-1.2.15.tar.gz
+ sha512sums = 7a9dd7b97caa46520a9d70b9aaed21d01d8d8483a2d768ef2a39111ff241c45d49f01132553c455e40f6e548966ded83d60fa224f7f951623b9cb7acfe8b49f5
pkgname = sdltrs
diff --git a/PKGBUILD b/PKGBUILD
index 7814936b446..c524a564311 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.15
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=('7a9dd7b97caa46520a9d70b9aaed21d01d8d8483a2d768ef2a39111ff241c45d49f01132553c455e40f6e548966ded83d60fa224f7f951623b9cb7acfe8b49f5')
build() {
- mkdir -p build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ [[ -d build ]] && rm -r build
+ cmake $pkgname-$pkgver \
+ -Bbuild \
-DCMAKE_BUILD_TYPE=Release \
- ../$pkgname-$pkgver
- cmake --build .
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
}
package() {
cd build
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"
}