diff options
author | Bowero | 2019-06-13 22:40:53 +0200 |
---|---|---|
committer | Bowero | 2019-06-13 22:40:53 +0200 |
commit | dd7fbb5b24c2266c042b8de99b952799c6216c2b (patch) | |
tree | a48e5a41e28dee04ed148c3ecc6ac77f6c73a242 /PKGBUILD | |
download | aur-dd7fbb5b24c2266c042b8de99b952799c6216c2b.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d0c0512012b1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Robin Martijn <ik@robinmartijn.nl> + +_pkgname=i3lock-fancier-rapid +pkgname=$_pkgname +pkgver=r10.df18859 +pkgrel=1 +pkgdesc="A cleaner implementation of i3lock-fancy-rapid" +arch=('x86_64') +url="https://github.com/Bowero/$_pkgname" +license=('BSD') +depends=('i3lock' 'libx11') +makedepends=('libx11') +source=("$pkgname::git+$url") +sha512sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$pkgname" + git submodule init + git submodule update +} + +build() { + cd "$pkgname" + make +} + +package() { + cd "$pkgname" + install -Dm755 $_pkgname "$pkgdir/usr/bin/$_pkgname" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
\ No newline at end of file |