[arch-commits] Commit in libskk/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Wed Aug 13 04:51:08 UTC 2014


    Date: Wednesday, August 13, 2014 @ 06:51:08
  Author: fyan
Revision: 117336

upgpkg: libskk 1.0.1-3

add upstream patch to use libgee-0.8

Modified:
  libskk/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-08-13 02:05:58 UTC (rev 117335)
+++ PKGBUILD	2014-08-13 04:51:08 UTC (rev 117336)
@@ -5,30 +5,37 @@
 
 pkgname=libskk
 pkgver=1.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc='GObject-based library to deal with Japanese kana-to-kanji conversion method'
 arch=('i686' 'x86_64')
 url='https://github.com/ueno/libskk'
 license=('GPL3')
-depends=('libgee06' 'json-glib')
-makedepends=('intltool')
-source=(https://bitbucket.org/$pkgname/$pkgname/downloads/$pkgname-$pkgver.tar.gz)
+depends=('libgee' 'json-glib')
+makedepends=('intltool' 'git' 'gnome-common' 'gobject-introspection' 'vala')
+source=(git+https://github.com/ueno/libskk.git#tag=$pkgver
+        https://github.com/ueno/libskk/commit/024a258817ac98d28375ae4c7b4839b346919ce4.patch)
+md5sums=('SKIP'
+         'e784c8973f86e388b2d2fad8e4263166')
 
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../024a258817ac98d28375ae4c7b4839b346919ce4.patch
+}
+
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
+  cd $pkgname
+  ./autogen.sh --prefix=/usr
   make
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make check
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 
 # vim:set ts=2 sw=2 et:
-md5sums=('2052bfa898205b641bb2cc448516230f')




More information about the arch-commits mailing list