aboutsummaryrefslogtreecommitdiffstats
path: root/main/rxvt-unicode
diff options
context:
space:
mode:
authorJakub Skrzypnik <j.skrzypnik@openmailbox.orxg>2017-01-07 10:35:16 +0100
committerWilliam Pitcock <nenolod@dereferenced.org>2017-03-02 01:29:37 +0000
commitdbbb9956944e16011412e244d9e5831f2cf0f918 (patch)
tree616f0f286091de05776f899f4c5b137d77e4dbea /main/rxvt-unicode
parent24584af2b412eec06250744673ccedc3cb32ab7b (diff)
downloadaports-dbbb9956944e16011412e244d9e5831f2cf0f918.tar.bz2
aports-dbbb9956944e16011412e244d9e5831f2cf0f918.tar.xz
main/rxvt-unicode: add rxvt-unicode-terminfo subpackage
Diffstat (limited to 'main/rxvt-unicode')
-rw-r--r--main/rxvt-unicode/APKBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/main/rxvt-unicode/APKBUILD b/main/rxvt-unicode/APKBUILD
index 6b7bdacde7..42795d2e13 100644
--- a/main/rxvt-unicode/APKBUILD
+++ b/main/rxvt-unicode/APKBUILD
@@ -1,5 +1,6 @@
# Contributor: Moritz Wilhelmy
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Contributor: Jakub Skrzypnik <j.skrzypnik@openmailbox.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=rxvt-unicode
pkgver=9.22
@@ -8,10 +9,10 @@ pkgdesc="rxvt fork with improved unicode support"
arch=all
url="http://software.schmorp.de/pkg/rxvt-unicode.html"
license="GPL"
-depends=""
+depends="$pkgname-terminfo"
makedepends="libx11-dev libxft-dev ncurses fontconfig-dev
gdk-pixbuf-dev libxrender-dev perl-dev startup-notification-dev"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-terminfo::noarch"
source="http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2
gentables.patch
rxvt-unicode-kerning.patch"
@@ -57,6 +58,9 @@ build() {
}
package() {
+ # despite having a separate terminfo subpackage
+ # TERMINFO env var is used by rxvt-unicode makefile
+ # leaving it as is ~skrzyp
export TERMINFO="$pkgdir/usr/share/terminfo"
install -d "$TERMINFO"
@@ -64,6 +68,13 @@ package() {
-C "$_builddir" install || return 1
}
+terminfo() {
+ pkgdesc="$pkgdesc (terminfo data)"
+ install -d "$subpkgdir"/usr/share/terminfo
+ mv -v "$pkgdir"/usr/share/terminfo/* \
+ "$subpkgdir"/usr/share/terminfo/
+}
+
md5sums="93782dec27494eb079467dacf6e48185 rxvt-unicode-9.22.tar.bz2
105d79e77f2aedc2520791177c74feda gentables.patch
585157318cb78733804eed507b77c37c rxvt-unicode-kerning.patch"