aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3wm
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-26 08:11:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-26 10:57:17 +0000
commitdbdc513b9d9d3f2fea9a0bc122f8ba462b251467 (patch)
tree1aa8c2d958e55eed6193f2a46e33ef712caa10d0 /testing/i3wm
parent669d567174224c31a0d2bb2092e6999f39b7fd91 (diff)
downloadaports-dbdc513b9d9d3f2fea9a0bc122f8ba462b251467.tar.bz2
aports-dbdc513b9d9d3f2fea9a0bc122f8ba462b251467.tar.xz
testing/i3wm: let abuild manage depends, simplify
simplify man installs
Diffstat (limited to 'testing/i3wm')
-rw-r--r--testing/i3wm/APKBUILD30
1 files changed, 11 insertions, 19 deletions
diff --git a/testing/i3wm/APKBUILD b/testing/i3wm/APKBUILD
index 7ecda2d19e..f18753b292 100644
--- a/testing/i3wm/APKBUILD
+++ b/testing/i3wm/APKBUILD
@@ -1,15 +1,16 @@
-# Contributor:
-# Maintainer:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=i3wm
pkgver=4.8
-pkgrel=0
+pkgrel=1
pkgdesc="A tiling window manager"
url="http://i3wm.org"
arch="all"
license="BSD"
-depends="xcb-util-cursor xcb-util-keysyms xcb-util-wm libev yajl pango cairo startup-notification pcre"
+depends=""
depends_dev=""
-makedepends="$depends_dev bison flex libxcb-dev xcb-util-cursor-dev xcb-util-keysyms-dev xcb-util-wm-dev libev-dev pango-dev cairo-dev yajl-dev startup-notification-dev pcre-dev"
+makedepends="$depends_dev bison flex libxcb-dev xcb-util-cursor-dev
+ xcb-util-keysyms-dev xcb-util-wm-dev libev-dev pango-dev cairo-dev
+ yajl-dev startup-notification-dev pcre-dev"
install=""
subpackages="$pkgname-doc"
source="http://i3wm.org/downloads/i3-${pkgver}.tar.bz2 musl.patch"
@@ -27,24 +28,15 @@ prepare() {
build() {
cd "$_builddir"
- make
+ make
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir/" install
- install -Dm644 man/i3.1 "$pkgdir/usr/share/man/man1/i3.1"
- install -Dm644 man/i3bar.1 "$pkgdir/usr/share/man/man1/i3bar.1"
- install -Dm644 man/i3-config-wizard.1 "$pkgdir/usr/share/man/man1/i3-config-wizard.1"
- install -Dm644 man/i3-input.1 "$pkgdir/usr/share/man/man1/i3-input.1"
- install -Dm644 man/i3-msg.1 "$pkgdir/usr/share/man/man1/i3-msg.1"
- install -Dm644 man/i3-migrate-config-to-v4.1 "$pkgdir/usr/share/man/man1/i3-migrate-config-to-v4.1"
- install -Dm644 man/i3-nagbar.1 "$pkgdir/usr/share/man/man1/i3-nagbar.1"
- install -Dm644 man/i3-dmenu-desktop.1 "$pkgdir/usr/share/man/man1/i3-dmenu-desktop.1"
- install -Dm644 man/i3-dump-log.1 "$pkgdir/usr/share/man/man1/i3-dump-log.1"
- install -Dm644 man/i3-sensible-editor.1 "$pkgdir/usr/share/man/man1/i3-sensible-editor.1"
- install -Dm644 man/i3-sensible-pager.1 "$pkgdir/usr/share/man/man1/i3-sensible-pager.1"
- install -Dm644 man/i3-sensible-terminal.1 "$pkgdir/usr/share/man/man1/i3-sensible-terminal.1"
+ make DESTDIR="$pkgdir/" install || return 1
+
+ install -d "$pkgdir/usr/share/man/man1"
+ install -m644 man/*.1 "$pkgdir"/usr/share/man/man1/ || return 1
}
md5sums="4151e8e81fdc78b32a7cb953f67e3bef i3-4.8.tar.bz2