PKGBUILD (803B) - View raw
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 30 31 32 33 34 35 36 37_pkgname=tessen pkgname=$_pkgname pkgver=0.0.r230.dad052e pkgrel=1 pkgdesc="An interactive menu to autotype and copy password-store and gopass data" url="https://git.awy.one/tessen.git" arch=('i686' 'x86_64') license=('GPL2') depends=('gopass' 'wtype' 'wl-clipboard' ) optdepends=('mew' 'rofi') makedepends=('git' 'scdoc') source=(git+https://git.awy.one/tessen.git) sha256sums=(SKIP) provides=("$pkgname") conflicts=("$pkgname") pkgver() { cd $srcdir/$_pkgname git_ver=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)") echo "0.0.$git_ver" } prepare() { cd "$srcdir/$_pkgname" sed -i Makefile -e 's:/usr/local:/usr:g' } build() { cd "$srcdir/$_pkgname" make } package() { cd "$srcdir/$_pkgname" make DESTDIR="${pkgdir}" install }