blob: 774f2c454304a320f98f0f65a21aade78d648fe9 (
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
|
_name=bakadict
pkgver=21.3bb4f08
# Contributor: Asuka Minato
pkgrel=1
source=('git+https://github.com/flaribbit/bakadict.git#branch=master'
.install)
arch=('any')
url='https://github.com/flaribbit/bakadict'
md5sums=('SKIP'
'e6a7496670b5280d9bcd5bcf595849dd')
license=('unknown')
install=.install
makedepends=('git' 'cargo' 'rust')
provides=("bakadict=$pkgver", 'dict')
conflicts=('bakadict', 'dict', 'dictd')
pkgver(){
cd $srcdir/$_name
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build(){
cd $srcdir/$_name
cargo build --release
}
package(){
pushd $srcdir/$_name
install -Dm755 target/release/dict $pkgdir/usr/bin/dict
popd
}
|