diff options
author | yvbbrjdr | 2018-10-03 01:21:07 -0700 |
---|---|---|
committer | yvbbrjdr | 2018-10-03 01:21:07 -0700 |
commit | bf11692ea4de58e35c32f55c223cb55b27b593b9 (patch) | |
tree | d10c0d95d0acb72605d54ce56ccad21f6fe61247 | |
download | aur-bf11692ea4de58e35c32f55c223cb55b27b593b9.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d91bfcea07cb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = i3lock-fancy-rapid-git + pkgdesc = A faster implementation of i3lock-fancy + pkgver = r6.e3c0f4a + pkgrel = 1 + url = https://github.com/yvbbrjdr/i3lock-fancy-rapid + arch = x86_64 + license = BSD + makedepends = libx11 + makedepends = openmp + depends = i3lock + depends = libx11 + depends = openmp + source = i3lock-fancy-rapid-git::git+https://github.com/yvbbrjdr/i3lock-fancy-rapid + sha512sums = SKIP + +pkgname = i3lock-fancy-rapid-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bffc06271886 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Yuan Zhou <xyyqzy@hotmail.com> + +_pkgname=i3lock-fancy-rapid +pkgname=$_pkgname-git +pkgver=r6.e3c0f4a +pkgrel=1 +pkgdesc="A faster implementation of i3lock-fancy" +arch=('x86_64') +url="https://github.com/yvbbrjdr/$_pkgname" +license=('BSD') +depends=('i3lock' 'libx11' 'openmp') +makedepends=('libx11' 'openmp') +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" +} |