diff options
author | Jens John | 2015-06-18 13:27:40 +0200 |
---|---|---|
committer | Jens John | 2015-06-18 13:27:40 +0200 |
commit | b8eea82c6a22c0d32c2b51f31254b4fc2d0d6838 (patch) | |
tree | b3558172089fffdc753491e2264fb40eda722091 | |
download | aur-b8eea82c6a22c0d32c2b51f31254b4fc2d0d6838.tar.gz |
Initial package
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5557bea42db8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = bunsen-common-git + pkgdesc = Shared shell scripts commonly used in BunsenLinux projects + pkgver = r7.5ec5e6f + pkgrel = 1 + url = https://github.com/BunsenLabs/bunsen-common + arch = any + license = GPL3 + makedepends = git + depends = bash + depends = ncurses + provides = bunsen-common + conflicts = bunsen-common + source = git+https://github.com/BunsenLabs/bunsen-common.git#branch=master + md5sums = SKIP + +pkgname = bunsen-common-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aae815c50f42 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: 2ion <dev@2ion.de> +pkgname=bunsen-common-git +pkgver=r7.5ec5e6f +pkgrel=1 +pkgdesc="Shared shell scripts commonly used in BunsenLinux projects" +arch=('any') +url="https://github.com/BunsenLabs/bunsen-common" +license=('GPL3') +depends=('bash' 'ncurses') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=('git+https://github.com/BunsenLabs/bunsen-common.git#branch=master') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +check() { + cd "$srcdir/${pkgname%-git}" + bash -n bl-include.cfg +} + +package() { + cd "$srcdir/${pkgname%-git}" + install -Dm 755 bl-include.cfg "${pkgdir}/usr/lib/bunsen/bunsen-common/bl-include.cfg" +} |