summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTércio Martins2020-11-29 20:45:42 -0300
committerTércio Martins2020-11-29 20:45:42 -0300
commita7f1f27c885e54bb27e9d1d1f7b682bb8aabdd0f (patch)
tree9b8bee268bf859bd7e3dcb5c2db50ee0d0faebda
parent969e6b112d9606ce71a55e3058fdff085f828233 (diff)
downloadaur-a7f1f27c885e54bb27e9d1d1f7b682bb8aabdd0f.tar.gz
Update to version 1.2.14; build system changed to CMake
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD18
2 files changed, 14 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 73277974884..371379e6056 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
pkgbase = sdltrs
pkgdesc = TRS-80 Model I/III/4/4P emulator
- pkgver = 1.2.13
+ pkgver = 1.2.14
pkgrel = 1
url = https://gitlab.com/jengun/sdltrs
arch = i686
arch = pentium4
arch = x86_64
license = BSD
+ makedepends = cmake
depends = hicolor-icon-theme
depends = sdl2
- source = https://gitlab.com/jengun/sdltrs/-/archive/1.2.13/sdltrs-1.2.13.tar.gz
- sha512sums = c6056ad1ca971691fbe5d16876e266c2ff9759e450f460873efa955d76c68b979899b508489e2046b6b47269c7f04fd9b4edb4f55a68585f790e232c08ddd255
+ source = https://gitlab.com/jengun/sdltrs/-/archive/1.2.14/sdltrs-1.2.14.tar.gz
+ sha512sums = eeb759c8f3f78576105a87fd22f8e21d716863eeb2d424360a46a00cec69418d57f34c7fbd802eeab6d1a4baf5c66b6114925c6cdb4d19e634695fb821946a4e
pkgname = sdltrs
diff --git a/PKGBUILD b/PKGBUILD
index 7dd6db7062d..7814936b446 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,30 @@
# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
pkgname=sdltrs
-pkgver=1.2.13
+pkgver=1.2.14
pkgrel=1
arch=('i686' 'pentium4' 'x86_64')
pkgdesc="TRS-80 Model I/III/4/4P emulator"
url="https://gitlab.com/jengun/sdltrs"
license=('BSD')
depends=('hicolor-icon-theme' 'sdl2')
+makedepends=('cmake')
source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('c6056ad1ca971691fbe5d16876e266c2ff9759e450f460873efa955d76c68b979899b508489e2046b6b47269c7f04fd9b4edb4f55a68585f790e232c08ddd255')
+sha512sums=('eeb759c8f3f78576105a87fd22f8e21d716863eeb2d424360a46a00cec69418d57f34c7fbd802eeab6d1a4baf5c66b6114925c6cdb4d19e634695fb821946a4e')
build() {
- cd $pkgname-$pkgver
- ./autogen.sh
- ./configure --enable-readline --enable-zbx --prefix=/usr
- make
+ mkdir -p build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ ../$pkgname-$pkgver
+ cmake --build .
}
package() {
- cd $pkgname-$pkgver
+ cd build
make DESTDIR="$pkgdir" install
- install -dm0755 "$pkgdir/usr/share/licenses/$pkgname"
+ install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" \
-t "$pkgdir/usr/share/licenses/$pkgname"
}