diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 24 insertions, 15 deletions
@@ -1,17 +1,18 @@ pkgbase = ibus-uniemoji-git pkgdesc = A simple input method for ibus that allows you to enter unicode emoji and other symbols by name (git-version) - pkgver = 0.3.0.2.ga30c63f - pkgrel = 1 - url = https://github.com/lalomartins/ibus-uniemoji + pkgver = 0.6.0.11.g6bc33a4 + pkgrel = 2 + url = https://github.com/salty-horse/ibus-uniemoji arch = i686 arch = x86_64 - license = MIT + license = GPL makedepends = git depends = python depends = libibus optdepends = python-levenshtein: faster fuzzy search provides = ibus-uniemoji - source = git://github.com/lalomartins/ibus-uniemoji + conflicts = ibus-uniemoji + source = git://github.com/salty-horse/ibus-uniemoji md5sums = SKIP pkgname = ibus-uniemoji-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f384624e5f99 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/pkg/ +/src/ +/*.tar.gz +/*.tar.xz +/ibus-uniemoji @@ -1,18 +1,20 @@ -# Maintainer: Michael Lawson <mdlawson@gmx.com> +# Maintainer: codl <codl@codl.fr> +# Contributor: Michael Lawson <mdlawson@gmx.com> pkgname=ibus-uniemoji-git _gitname=ibus-uniemoji -pkgver=0.3.0.2.ga30c63f -pkgrel=1 +pkgver=0.6.0.11.g6bc33a4 +pkgrel=2 pkgdesc="A simple input method for ibus that allows you to enter unicode emoji and other symbols by name (git-version)" arch=(i686 x86_64) -url="https://github.com/lalomartins/ibus-uniemoji" +url="https://github.com/salty-horse/ibus-uniemoji" license=('GPL') depends=('python' 'libibus') makedepends=('git') provides=('ibus-uniemoji') +conflicts=('ibus-uniemoji') optdepends=('python-levenshtein: faster fuzzy search') -source=("git://github.com/lalomartins/ibus-uniemoji") +source=("git://github.com/salty-horse/ibus-uniemoji") md5sums=("SKIP") pkgver() { @@ -20,11 +22,12 @@ pkgver() { git describe --tags | sed -e 's:v::' -e 's/-/./g' } +build() { + cd "$srcdir/$_gitname" + env PREFIX="/usr" SYSCONFDIR="/etc" make all +} + package() { cd "$srcdir/$_gitname" - mkdir -p $pkgdir/usr/share/ibus-uniemoji - cp uniemoji.py uniemoji.svg UnicodeData.txt $pkgdir/usr/share/ibus-uniemoji - chmod a+x $pkgdir/usr/share/ibus-uniemoji/uniemoji.py - mkdir -p $pkgdir/usr/share/ibus/component - cp uniemoji.xml $pkgdir/usr/share/ibus/component + env DESTDIR="$pkgdir/" make install } |