diff options
author | Yen Chi Hsuan | 2017-03-12 02:01:38 +0800 |
---|---|---|
committer | Yen Chi Hsuan | 2017-03-12 02:01:38 +0800 |
commit | 8f6b2a1a7f0be681443e4e7190e12ec9a5642fb0 (patch) | |
tree | b402d66117447f7f48aed1799aabb101f171897b | |
parent | 66c527e91a91ce53482c40f1274307fa94014c85 (diff) | |
download | aur-8f6b2a1a7f0be681443e4e7190e12ec9a5642fb0.tar.gz |
Bump to 0.5.1.r49.g09108b2
And add `make check`
Ref: https://github.com/chewing/libchewing/issues/219
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | issue219.patch | 12 |
3 files changed, 31 insertions, 6 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Mon Jun 13 15:32:03 UTC 2016 pkgbase = libchewing-git pkgdesc = Intelligent Chinese phonetic input method - pkgver = 0.5.1.r8.g583bc02 + pkgver = 0.5.1.r49.g09108b2 pkgrel = 1 epoch = 1 url = http://chewing.im/ @@ -14,7 +12,9 @@ pkgbase = libchewing-git provides = libchewing conflicts = libchewing source = git+https://github.com/chewing/libchewing/ + source = issue219.patch md5sums = SKIP + md5sums = 16f494709a35233177ba6bc234953871 pkgname = libchewing-git @@ -3,7 +3,7 @@ _pkgname=libchewing pkgname=libchewing-git -pkgver=0.5.1.r8.g583bc02 +pkgver=0.5.1.r49.g09108b2 pkgrel=1 epoch=1 pkgdesc='Intelligent Chinese phonetic input method' @@ -14,8 +14,10 @@ conflicts=('libchewing') provides=('libchewing') depends=('sqlite') makedepends=('git') -source=("git+https://github.com/chewing/libchewing/") -md5sums=('SKIP') +source=("git+https://github.com/chewing/libchewing/" + "issue219.patch") +md5sums=('SKIP' + '16f494709a35233177ba6bc234953871') pkgver() { cd "${_pkgname}" @@ -25,6 +27,12 @@ pkgver() { ) } +prepare() { + cd "${_pkgname}" + + patch -Np1 -i ../issue219.patch +} + build() { cd "${_pkgname}" ./autogen.sh @@ -32,6 +40,11 @@ build() { make } +check() { + cd "${_pkgname}" + make check +} + package() { cd "${_pkgname}" make DESTDIR="${pkgdir}" install diff --git a/issue219.patch b/issue219.patch new file mode 100644 index 000000000000..8a912d6dcf63 --- /dev/null +++ b/issue219.patch @@ -0,0 +1,12 @@ +diff --git a/test/Makefile.am b/test/Makefile.am +index 3df720b..09b3c29 100644 +--- a/test/Makefile.am ++++ b/test/Makefile.am +@@ -87,6 +87,7 @@ LDADD = \ + $(top_builddir)/src/common/libcommon.la \ + $(top_builddir)/src/porting_layer/src/libporting_layer.la \ + $(top_builddir)/test/libtesthelper.la \ ++ $(top_builddir)/src/common/libcommon.la \ + $(NULL) + + AM_LDFLAGS = -static |