tale-git: add PKGBUILD

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-10-17 19:40:32 +02:00
parent e2fb598014
commit 2335fee2bd
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 53 additions and 0 deletions

View file

@ -9,6 +9,9 @@ managing your game collection.
## [rom-manager-git](https://aur.archlinux.org/packages/rom-manager-git/)
Command line utility for organizing ROMs.
## [tale-git](https://aur.archlinux.org/packages/tale-git/)
An experimental version control system.
## [talk-cli-git](https://aur.archlinux.org/packages/talk-cli-git/)
A command line interface for using Nextcloud Talk.

16
tale-git/.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = tale-git
pkgdesc = An experimental version control system.
pkgver = 0.0.1.r0.g67b0dcb
pkgrel = 1
url = https://gitlab.com/severinkaderli/tale
arch = i686
arch = x86_64
license = MIT
makedepends = maven
makedepends = git
conflicts = tale
source = git+https://gitlab.com/severinkaderli/tale
md5sums = SKIP
pkgname = tale-git

4
tale-git/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
pkg/
tale-git*
tale/
src/

30
tale-git/PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Maintainer: Severin Kaderli <severin@kaderli.dev>
_pkgname=tale
pkgname=${_pkgname}-git
pkgver=0.0.1.r0.g67b0dcb
pkgrel=1
pkgdesc="An experimental version control system."
arch=('i686' 'x86_64')
url="https://gitlab.com/severinkaderli/tale"
license=('MIT')
makedepends=('maven' 'git')
conflicts=('tale')
source=('git+https://gitlab.com/severinkaderli/tale')
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
mvn -Dmaven.test.skip=true package
}
package() {
cd "${srcdir}/${_pkgname}"
install -Dm755 "target/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}