summaryrefslogtreecommitdiff
path: root/community/rxvt-unicode/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-08 00:02:42 +0000
committerroot <root@rshg054.dnsready.net>2012-04-08 00:02:42 +0000
commit37e364f033ed6db243d6db524075d8c5394c90f9 (patch)
treedb3bb1bc5749bee5a51cb403c0b944b52cb10fc3 /community/rxvt-unicode/PKGBUILD
parent2317ee13e2342fd8b81ffaf3a427fd4bb096ec28 (diff)
Sun Apr 8 00:02:42 UTC 2012
Diffstat (limited to 'community/rxvt-unicode/PKGBUILD')
-rw-r--r--community/rxvt-unicode/PKGBUILD53
1 files changed, 32 insertions, 21 deletions
diff --git a/community/rxvt-unicode/PKGBUILD b/community/rxvt-unicode/PKGBUILD
index ce0beeac1..77c2758f4 100644
--- a/community/rxvt-unicode/PKGBUILD
+++ b/community/rxvt-unicode/PKGBUILD
@@ -1,27 +1,31 @@
-# $Id: PKGBUILD 67162 2012-03-05 00:37:20Z pschmitz $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# $Id: PKGBUILD 68942 2012-04-06 10:19:39Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: tobias <tobias@archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=rxvt-unicode
pkgver=9.15
-pkgrel=1
-pkgdesc="An unicode enabled rxvt-clone terminal emulator (urxvt)"
+pkgrel=2
+pkgdesc='An unicode enabled rxvt-clone terminal emulator (urxvt)'
arch=('i686' 'x86_64')
-url="http://software.schmorp.de/pkg/rxvt-unicode.html"
+url='http://software.schmorp.de/pkg/rxvt-unicode.html'
license=('GPL')
depends=('gcc-libs' 'libxft' 'gdk-pixbuf2' 'perl')
optdepends=('gtk2-perl: to use the urxvt-tabbed')
-changelog=ChangeLog
-source=(http://dist.schmorp.de/rxvt-unicode/${pkgname}-${pkgver}.tar.bz2 \
- ${pkgname}.desktop)
+source=(
+ "http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2"
+ 'urxvt.desktop'
+ 'urxvtc.desktop'
+ 'urxvt-tabbed.desktop'
+)
md5sums=('15595aa326167ac5eb68c28d95432faf'
- '3de6c13126a45bc3bc9f6bba077a1311')
-sha1sums=('e6fdf091860ecb458730dc68b0176f67f207a2f7'
- '962aebc88982dbeb62a7c4a051ff567e015f61a0')
+ '88d8786d74b819450adf722180db09fd'
+ 'bebf5b6b399b74b557fcedbdb47cc387'
+ '2604896bb107fbb5511bfd6f46d65894')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
./configure --prefix=/usr \
--with-terminfo=/usr/share/terminfo \
--enable-256-color \
@@ -40,14 +44,21 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -d "${pkgdir}/usr/share/terminfo"
- export TERMINFO="${pkgdir}/usr/share/terminfo"
- make DESTDIR="${pkgdir}" install
- # install the tabbing wrapper ( requires gtk2-perl! )
+ cd $pkgname-$pkgver
+ # workaround terminfo installation
+ export TERMINFO="$pkgdir/usr/share/terminfo"
+ install -d "$TERMINFO"
+
+ make DESTDIR="$pkgdir" install
+
+ # install the tabbing wrapper ( requires gtk2-perl! )
sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
- install -Dm 755 doc/rxvt-tabbed "${pkgdir}/usr/bin/urxvt-tabbed"
- # install freedesktop menu
- install -Dm644 ../${pkgname}.desktop \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -Dm 755 doc/rxvt-tabbed "$pkgdir/usr/bin/urxvt-tabbed"
+
+ # install freedesktop menu
+ for _f in urxvt urxvtc urxvt-tabbed; do
+ install -Dm644 ../$_f.desktop "$pkgdir/usr/share/applications/$_f.desktop"
+ done
}
+
+# vim:set ts=2 sw=2 ft=sh et: