diff options
author | root <root@rshg054.dnsready.net> | 2011-09-15 23:14:42 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-15 23:14:42 +0000 |
commit | 062d1ba2c4d5de52d97f339c5a3ac1199b8533f6 (patch) | |
tree | bd00d2e476e1761b3771b1849a3a207dd8cb5c57 /community/xxkb | |
parent | d5effc9aadfb9ed5890376ca9497eef52fafcf83 (diff) |
Thu Sep 15 23:14:42 UTC 2011
Diffstat (limited to 'community/xxkb')
-rw-r--r-- | community/xxkb/PKGBUILD | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/community/xxkb/PKGBUILD b/community/xxkb/PKGBUILD index c093c1b81..4bcf2b771 100644 --- a/community/xxkb/PKGBUILD +++ b/community/xxkb/PKGBUILD @@ -1,40 +1,42 @@ -# $Id: PKGBUILD 1001 2009-08-11 09:14:06Z spupykin $ +# $Id: PKGBUILD 55567 2011-09-14 10:23:32Z andrea $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=xxkb pkgver=1.11 -pkgrel=3 +pkgrel=4 pkgdesc="keyboard layout switcher/indicator" -arch=(i686 x86_64) -url="http://sf.net/projects/xxkb/" -license=(PerlArtistic) -depends=(libxpm) -makedepends=(patch imake) -source=(http://downloads.sourceforge.net/xxkb/xxkb-$pkgver-src.tar.gz - XXkb \ - en22.xpm \ - ru22.xpm) +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/xxkb/" +license=('PerlArtistic') +depends=('libxpm') +makedepends=('imake') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver-src.tar.gz" + XXkb + en22.xpm + ru22.xpm) md5sums=('c2e5c7f3285033f0e26b358ef95a7c89' 'f181b7a017d3d2524ecf10638317d341' '649c6d378fe12853d457b768bd273dc5' 'f1692f0be5fc697b3b792d0098bdb42f') build() { - cd $srcdir/xxkb + cd "${srcdir}"/${pkgname} xmkmf - make PROJECTROOT=/usr PIXMAPDIR=/usr/share/$pkgname LOCAL_LIBRARIES='-lXext -lXt -lXpm' || return 1 + make PROJECTROOT=/usr PIXMAPDIR=/usr/share/$pkgname LOCAL_LIBRARIES='-lXext -lXt -lXpm' +} +package() { + cd "${srcdir}"/${pkgname} install -d $pkgdir/usr/bin install -d $pkgdir/usr/share/$pkgname install -d $pkgdir/usr/man/man1 install -d $pkgdir/usr/share/X11/app-defaults - install -m 0755 xxkb $pkgdir/usr/bin && \ - install -m 0644 ../XXkb $pkgdir/usr/share/X11/app-defaults/XXkb && \ - install -m 0644 pixmaps/*.xpm $pkgdir/usr/share/$pkgname && \ - install -m 0644 $pkgname.man $pkgdir/usr/man/man1/$pkgname.1 && \ - install -m 0644 ../*.xpm $pkgdir/usr/share/$pkgname/ || return 1 + install -m 0755 xxkb $pkgdir/usr/bin + install -m 0644 ../XXkb $pkgdir/usr/share/X11/app-defaults/XXkb + install -m 0644 pixmaps/*.xpm $pkgdir/usr/share/$pkgname + install -m 0644 $pkgname.man $pkgdir/usr/man/man1/$pkgname.1 + install -m 0644 ../*.xpm $pkgdir/usr/share/$pkgname/ mv $pkgdir/usr/man $pkgdir/usr/share/ } |