Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PKGBUILD for x-unikey Modify: source URL to http://prdownloads.sourceforge.net/unikey/, add checksum
# 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')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.