blob: e476e691466c1fb29a749447ecc5696640627bde (
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
|
# Maintainer: Tal <talwat321@gmail.com>
pkgname=pap
pkgver="0.15.0"
pkgrel=1
pkgdesc='a swiss army knife for minecraft servers'
url='https://github.com/talwat/pap'
source=("$pkgname-$pkgver.tar.gz::https://github.com/talwat/pap/archive/v$pkgver.tar.gz")
arch=('any')
license=('MIT')
sha256sums=('743fd7d6d8f6e5fcd198ee75fcc54fd77ce272c77009cfa2c28c0eb6aec5121c')
makedepends=('go>=1.18')
optdepends=('java-runtime: running the downloaded jarfiles')
build () {
cd "$pkgname-$pkgver"
export GOFLAGS="-trimpath"
make
}
package() {
cd "$pkgname-$pkgver"
make install PREFIX="$pkgdir/usr"
}
|