mirror of
https://gitlab.com/EternalWanderer/sheet-parser.git
synced 2025-07-02 01:36:36 +02:00
First steps towards package
This commit is contained in:
parent
c6df11bcc5
commit
a22ba4db06
4 changed files with 461 additions and 0 deletions
26
APKBUILD
Normal file
26
APKBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
|
||||
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
|
||||
pkgname=sheet-parser
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
pkgdesc="A little D&D character sheet parser written in go"
|
||||
url="https://gitlab.com/EternalWanderer/sheet-parser"
|
||||
arch="all"
|
||||
license="GPL-3.0"
|
||||
makedepends="go"
|
||||
subpackages="$pkgname-doc
|
||||
$pkgname-zsh-completion
|
||||
"
|
||||
source="https://alpine.voidcruiser.nl/src/$pkgname-$pkgver.tar.gz"
|
||||
options="!check"
|
||||
|
||||
build() {
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
make install PREFIX=/usr DESTDIR="$pkgdir"
|
||||
install -D -m 644 misc/auto-completion/zsh/_nnn \
|
||||
"$pkgdir"/usr/share/zsh/site-functions/_$pkgname
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue