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" }