diff options
author | Yen Chi Hsuan | 2017-03-12 18:52:20 +0800 |
---|---|---|
committer | Yen Chi Hsuan | 2017-03-12 18:52:20 +0800 |
commit | 853f2f1e49f4bc0e1aa975898e1af17306b4beab (patch) | |
tree | 75c6c9439c908ec3a3b842170eaefb8642f15504 | |
parent | a0e362b45c5e4d5ed5e08c9e9c61b7891b1574a1 (diff) | |
download | aur-853f2f1e49f4bc0e1aa975898e1af17306b4beab.tar.gz |
Use submodules
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = ibus-chewing-git pkgdesc = Chinese Chewing Engine for IBus Framework pkgver = 1.5.1.r38.gf4c192d - pkgrel = 1 + pkgrel = 2 url = https://github.com/definite/ibus-chewing arch = i686 arch = x86_64 @@ -15,7 +15,7 @@ pkgbase = ibus-chewing-git provides = ibus-chewing conflicts = ibus-chewing source = git+https://github.com/definite/ibus-chewing.git - source = git+https://pagure.io/cmake-fedora.git#tag=2.6.0 + source = git+https://pagure.io/cmake-fedora.git sha512sums = SKIP sha512sums = SKIP @@ -8,8 +8,7 @@ _pkgname=ibus-chewing pkgname=$_pkgname-git pkgver=1.5.1.r38.gf4c192d -_cmakefedoraver=2.6.0 -pkgrel=1 +pkgrel=2 pkgdesc='Chinese Chewing Engine for IBus Framework' arch=('i686' 'x86_64') license=('GPL') @@ -18,7 +17,7 @@ depends=('ibus' 'libchewing-git') makedepends=('gob2' 'cmake' 'git') checkdepends=('xorg-server-xvfb') source=("git+https://github.com/definite/ibus-chewing.git" - "git+https://pagure.io/cmake-fedora.git#tag=$_cmakefedoraver") + "git+https://pagure.io/cmake-fedora.git") sha512sums=('SKIP' 'SKIP') provides=(ibus-chewing) @@ -34,7 +33,10 @@ pkgver() { prepare() { cd $_pkgname - ln -s ../cmake-fedora/Modules ./ + + git submodule init + git config submodule.cmake-fedora.url "$srcdir/cmake-fedora" + git submodule update } build() { |