diff options
author | radrow | 2019-03-28 17:55:36 +0100 |
---|---|---|
committer | radrow | 2019-03-28 17:55:36 +0100 |
commit | 9788a62f941b20fb37c273fb7f5a854e90fd0288 (patch) | |
tree | 06fbde4d1bac4e842d69fb57c8755696c2946667 | |
download | aur-9788a62f941b20fb37c273fb7f5a854e90fd0288.tar.gz |
Init PKGBUILD and .SRCINFO
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..82002a272aa9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = i3hloc-git + pkgdesc = Flexible scheduler for i3bar. Build from source version. + pkgver = 0.2.0.0 + pkgrel = 1 + url = https://github.com/radrow/i3hloc + arch = x86_64 + license = BSD3 + makedepends = stack + makedepends = binutils + makedepends = make + makedepends = tar + makedepends = gcc + makedepends = awk + makedepends = fakeroot + depends = i3-wm + provides = i3hloc-git + conflicts = i3hloc + source = https://github.com/radrow/i3hloc/archive/master.zip + sha256sums = decd14d7a4df8ad7c0ac222f24d9d5c84714dad0365de90d3ec875ed2abfacbb + +pkgname = i3hloc-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2fa8b53772b8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Radosław Rowicki <radrowicki at gmail dot guessit> +# Contributor: Radosław Rowicki <radrowicki at gmail dot guessit> + +pkgname=i3hloc-git +_pkgname=i3hloc-git +pkgver=0.2.0.0 +pkgrel=1 +pkgdesc="Flexible scheduler for i3bar. Build from source version." +arch=('x86_64') +url="https://github.com/radrow/i3hloc" +license=('BSD3') +provides=('i3hloc-git') +conflicts=('i3hloc') +depends=('i3-wm') +makedepends=('stack' 'binutils' 'make' 'tar' 'gcc' 'awk' 'fakeroot') +source=("https://github.com/radrow/i3hloc/archive/master.zip") +sha256sums=('decd14d7a4df8ad7c0ac222f24d9d5c84714dad0365de90d3ec875ed2abfacbb') + +build() { + cd ${srcdir}/i3hloc-master + stack build +} + +package() { + cd ${srcdir}/i3hloc-master + install -Dm755 ${srcdir}/i3hloc-master/.stack-work/install/x86_64-linux-tinfo6/lts-13.14/8.6.4/bin/i3hloc ${pkgdir}/usr/bin/i3hloc +} |