blob: 6d0276284ada96aafc1d3dae1279404a220a7fd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Andrej Radović <r.andrej@gmail.com>
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"
}
|