public
Created

PKGBUILD for x-unikey Modify: source URL to http://prdownloads.sourceforge.net/unikey/, add checksum

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
# Contributor: Tran Thai Duong <thaiduong.tran@gmail.com>
pkgname="x-unikey"
pkgver=1.0.4
pkgrel=1
pkgdesc="X and GTK input method for typing Vietnamese"
arch=(i686 x86_64)
url="http://sourceforge.net/projects/unikey"
license=(GPL)
depends=(libstdc++5 libx11 gtk2)
makedepends=(gcc patch make)
install=unikey.install
source=("http://prdownloads.sourceforge.net/unikey/x-unikey-${pkgver}.tar.bz2"
"usrkeymap.cpp.diff"
"Makefile_unikey-gtk.in.diff"
"Makefile_xim.in.diff")
md5sums=('9019f3f5eae3df333171c8099f0a2f44'
'd7a7a59df7d4e672da6703f6f3ee85c1')
 
build()
{
cd $startdir/src/x-unikey-$pkgver
patch -uN src/ukengine/usrkeymap.cpp ../usrkeymap.cpp.diff || return 1
patch -uN src/xim/Makefile.in ../Makefile_xim.in.diff || return 1
patch -uN src/unikey-gtk/Makefile.in ../Makefile_unikey-gtk.in.diff || return 1
./configure --with-unikey-gtk --prefix=/usr --sysconfdir=/etc
make DESTDIR=$startdir/pkg install || return 1
}
md5sums=('9019f3f5eae3df333171c8099f0a2f44'
'd7a7a59df7d4e672da6703f6f3ee85c1'
'3131daf0ab98a0538714872e46e82aad'
'76a7e201bfc2cc6c550d2875726afff9')

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.