Add AUR PKGBUILD
This commit is contained in:
parent
8e9e500fbd
commit
4e7f8a85f8
34
aur/PKGBUILD
Normal file
34
aur/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
pkgname=worldsterm-git
|
||||
pkgver=0.1.0.r1.g8e9e500
|
||||
pkgrel=1
|
||||
pkgdesc='A terminal-based Worlds.com client'
|
||||
arch=('any')
|
||||
url='https://git.worlio.com/Wirlaburla/WorldsTerminal'
|
||||
depends=('ncurses')
|
||||
makedepends=('git' 'cmake')
|
||||
provides=('worldsterm')
|
||||
conflicts=('worldsterm')
|
||||
source=("$pkgname::git+ssh://gitea@worlio.com:7365/Wirlaburla/WorldsTerminal.git#branch=master")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
mkdir -p build; cd build
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
..
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname/build
|
||||
make install DESTDIR="$pkgdir"
|
||||
}
|
Loading…
Reference in New Issue
Block a user