summaryrefslogtreecommitdiffstats
path: root/euterpe/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2023-04-06 16:06:14 +0300
committerYigit Sever2023-04-06 16:12:11 +0300
commit04fd1fc0fc4d0cfed348de8c8a87b96fcea5f47f (patch)
tree153b7204aed03ffa0094d5b7d9c381b63d2f5aa2 /euterpe/PKGBUILD
parentec1db6addeead5facb2185901a0934a0420c9f00 (diff)
downloadpackages-04fd1fc0fc4d0cfed348de8c8a87b96fcea5f47f.tar.gz
packages-04fd1fc0fc4d0cfed348de8c8a87b96fcea5f47f.tar.bz2
packages-04fd1fc0fc4d0cfed348de8c8a87b96fcea5f47f.zip
Deleted package: euterpe
Deleted package: euterpe
Diffstat (limited to 'euterpe/PKGBUILD')
-rw-r--r--euterpe/PKGBUILD34
1 files changed, 0 insertions, 34 deletions
diff --git a/euterpe/PKGBUILD b/euterpe/PKGBUILD
deleted file mode 100644
index 774e649..0000000
--- a/euterpe/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2
3pkgname=euterpe
4pkgver=1.5.4
5pkgrel=1
6pkgdesc='Self-hosted music streaming server with RESTful API and Web interface'
7arch=('x86_64')
8url="https://github.com/ironsmile/$pkgname"
9license=('GPL')
10depends=('taglib' 'icu')
11makedepends=('go')
12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
13sha256sums=('941b7a5f99460cea23beb024bcc2e7315fe4a79563f8c750dcdf733465487eff')
14
15prepare(){
16 cd "$pkgname-$pkgver"
17 mkdir -p build/
18}
19
20build() {
21 cd "$pkgname-$pkgver"
22 export CGO_CPPFLAGS="${CPPFLAGS}"
23 export CGO_CFLAGS="${CFLAGS}"
24 export CGO_CXXFLAGS="${CXXFLAGS}"
25 export CGO_LDFLAGS="${LDFLAGS}"
26 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
27
28 go build -o build
29}
30
31package() {
32 cd "$pkgname-$pkgver"
33 install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname
34}