blob: 11c34e9716dd54dda79f361e4339a013642741f3 (
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
|
# Maintainer: Andreas Bolka <a AT bolka DOT at>
pkgname=z.lua-git
pkgver=1.4.4.gcf45449
pkgrel=1
pkgdesc='A command line tool which helps you navigate faster by learning your habits'
arch=('any')
url='https://github.com/skywind3000/z.lua'
license=('MIT')
depends=('lua')
makedepends=('git')
provides=('z.lua')
conflicts=('z.lua')
source=("$pkgname::git+https://github.com/skywind3000/z.lua")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
local GITID=$(git rev-parse --short HEAD)
echo "${pkgver%\.g*}.g$GITID"
}
package() {
cd "$srcdir/$pkgname"
install -D -t "$pkgdir/usr/share/z.lua/" z.lua
install -Dm644 -t "$pkgdir/usr/share/licenses/${pkgname%-*}/" LICENSE
}
|