diff options
author | k0r10n <k0r10n.dev@gmail.com> | 2014-12-06 12:15:57 +0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-08 15:55:32 +0000 |
commit | b8d19c15bccd04f036664c8c466130e10b58358f (patch) | |
tree | c05b7d049f04165aca01b2365b739d2006c37a84 /testing/i3status/APKBUILD | |
parent | 376aebed24e0ef3f3f4849fbe64b1e728b12f9dd (diff) | |
download | aports-b8d19c15bccd04f036664c8c466130e10b58358f.tar.bz2 aports-b8d19c15bccd04f036664c8c466130e10b58358f.tar.xz |
testing/i3status: New aport
Diffstat (limited to 'testing/i3status/APKBUILD')
-rw-r--r-- | testing/i3status/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/i3status/APKBUILD b/testing/i3status/APKBUILD new file mode 100644 index 0000000000..7fef04f4c7 --- /dev/null +++ b/testing/i3status/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=i3status +pkgver=2.8 +pkgrel=0 +pkgdesc="Generates status bar to use with i3bar, dzen2 or xmobar" +url="http://i3.zekjur.net/i3status/" +arch="all" +license="BSD" +depends="" +depends_dev="wireless-tools-dev alsa-lib-dev confuse-dev yajl-dev" +makedepends="$depends_dev asciidoc" +install="" +subpackages="" +source="http://i3wm.org/i3status/${pkgname}-${pkgver}.tar.bz2 + musl-fix.patch + " +_builddir="$srcdir"/${pkgname}-${pkgver} +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir/" install || return 1 + install -Dm644 LICENSE \ + "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1 +} + +md5sums="68d944e9c1f48183356c9ea15b5b4e3b i3status-2.8.tar.bz2 +75f4468573a132ae9fb255fb9a5531a7 musl-fix.patch" +sha256sums="ab06c5dd454354e6fc64354082616115082b70dc3906361bce5a02beb0f807fe i3status-2.8.tar.bz2 +e976f20fb165d2f96e7a49a95a2d5c803d882883dd4a87bfe20e62f85bf5fb4d musl-fix.patch" +sha512sums="b1e3dbc480660a96a662ccb996769203fae22448f8801cabb56c339ba63ac84d30018c897e2ecac23f513cfe9d9a7d9200a351a2e6b10a42c1929c28e8e22c02 i3status-2.8.tar.bz2 +340c44f68b2f74c2f66314f515f6843a6ac609a4d203ceb152b662aa8822ed405ccbbe459ea2eb1b42891cea84e3b63d1ff3bfe478d7fa2fc6c8b51f39f12a00 musl-fix.patch" |