2023-02-24 22:47:22 -05:00
|
|
|
# Maintainer: wirlaburla <wirlaburla@worlio.com>
|
|
|
|
|
|
|
|
pkgname=trakker-git
|
2023-03-04 22:46:16 -05:00
|
|
|
pkgver=0.3.0.r1.ge275e29
|
2023-02-24 22:47:22 -05:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc=''
|
|
|
|
arch=('x86_64' 'aarch64')
|
|
|
|
url='https://codeberg.org/Wirlaburla/trakker'
|
|
|
|
license=(GPL3)
|
|
|
|
depends=('alsa-lib' 'libxmp' 'ncurses')
|
|
|
|
makedepends=('git' 'cmake')
|
|
|
|
provides=('trakker')
|
|
|
|
conflicts=('trakker')
|
2023-02-25 00:19:37 -05:00
|
|
|
source=("$pkgname::git+$url.git#branch=master")
|
2023-02-24 22:47:22 -05:00
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd $pkgname
|
2023-03-04 22:46:16 -05:00
|
|
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
2023-02-24 22:47:22 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname
|
|
|
|
mkdir -p build; cd build
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
..
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname/build
|
|
|
|
make install DESTDIR="$pkgdir"
|
|
|
|
}
|