blob: c8ba886060036aa23708ec395e068c299b7744a0 (
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
|
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
pkgbase=sointu-track
pkgname=$pkgbase-git
pkgver=r475.1a5251d
pkgrel=1
pkgdesc='Music tracker that uses 4klang'
arch=(x86_64)
url='https://github.com/vsariola/sointu'
license=(MIT)
makedepends=(git go)
source=("git+$url")
b2sums=(SKIP)
pkgver() {
cd sointu
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd sointu/cmd/$pkgbase
go build -v -buildmode=pie -trimpath -ldflags="-s -w -extldflags \"${LDFLAGS}\""
}
package() {
install -Dm755 sointu/cmd/$pkgbase/$pkgbase "$pkgdir/usr/bin/$pkgbase"
install -Dm644 sointu/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|