From 9bfc87fa829f20b9cef93fc4c62e4932aba7fd77 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 19 Nov 2014 16:36:41 +0100 Subject: shaman-git: Import pkg --- .SRCINFO | 20 ++++++++++++++++++++ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..4e19142 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 14:56:52 UTC 2015 +pkgbase = shaman-git + pkgdesc = A small, native C library and utility to fetch weather + pkgver = 0.r248.cb98a17 + pkgrel = 1 + url = https://github.com/HalosGhost/shaman + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + makedepends = tup + makedepends = clang + depends = curl + depends = jansson + source = git+https://github.com/HalosGhost/shaman.git + sha256sums = SKIP + +pkgname = shaman-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..1cef202 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=shaman-git +pkgver=0.r248.cb98a17 +pkgrel=1 + +pkgdesc="A small, native C library and utility to fetch weather" +url="https://github.com/HalosGhost/shaman" +arch=('i686' 'x86_64') +license=('GPL2') + +depends=('curl' 'jansson') +makedepends=('git' 'tup' 'clang') + +source=('git+https://github.com/HalosGhost/shaman.git') +sha256sums=('SKIP') + +pkgver () { + cd shaman + printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build () { + cd shaman + tup upd +} + +check () { + cd shaman/test + LD_LIBRARY_PATH=../src ./suite +} + +package () { + cd shaman + DESTDIR="$pkgdir" PREFIX='/usr' ./install.sh +} -- cgit v1.2.3-70-g09d2