# Maintainer: Andrej Radović pkgname=ptags pkgver=0.3.2 pkgrel=1 pkgdesc='A parallel universal-ctags wrapper for git repository.' arch=('i686' 'x86_64') url='https://github.com/dalance/ptags' license=('MIT') makedepends=('git' 'cargo') depends=('git' 'ctags' 'git-lfs') provides=('ptags') conflicts=('ptags-git') source=("$pkgname"::'git+https://github.com/dalance/ptags.git') source=( $pkgname-$pkgver.zip::https://github.com/dalance/ptags/archive/v$pkgver.zip ) sha256sums=('f270c5195196bee852bbc61f811788685fb85eb8bfb5672bdd41bf430974ac21') build() { cd "$srcdir/${pkgname}-${pkgver}" cargo build --release } package() { cd "$srcdir/${pkgname}-${pkgver}" install -D 'target/release/ptags' "$pkgdir/usr/bin/ptags" install -D 'LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }