summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKridsada Thanabulpong2016-12-24 23:18:12 +0700
committerKridsada Thanabulpong2016-12-24 23:18:12 +0700
commit282eddb6e76a2c8d649109219b83628ad94d03bd (patch)
treeedc887a7bdf4751ee5b137ed60ae1840489722de
parent03c872a82f8cddd236026c4be5446583189ce97c (diff)
downloadaur-282eddb6e76a2c8d649109219b83628ad94d03bd.tar.gz
Properly set conflict and provides.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 721197464ebd..f56a5c333ed4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
pkgbase = ibus-libthai
pkgdesc = IBus engine module for LibThai
pkgver = 0.1.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/tlwg/ibus-libthai
arch = x86_64
arch = i686
license = GPL2
depends = ibus
depends = libthai
+ provides = ibus-libthai=0.1.3
+ conflicts = ibus-libthai-svn
replaces = ibus-libthai-svn
source = https://github.com/tlwg/ibus-libthai/archive/r_0_1_3.tar.gz
sha256sums = 801454d5cda132d16cc93bb7c1af59c6427252d11f0b5a0ed3c5ff674664236f
diff --git a/PKGBUILD b/PKGBUILD
index 93cb2b53cc6c..3bf32d2e8064 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname="ibus-libthai"
pkgver="0.1.3"
_pkgver="0_1_3"
-pkgrel=1
+pkgrel=2
pkgdesc="IBus engine module for LibThai"
url="https://github.com/tlwg/ibus-libthai"
arch=('x86_64' 'i686')
@@ -10,8 +10,9 @@ license=('GPL2')
depends=('ibus' 'libthai')
optdepends=()
makedepends=()
-conflicts=()
+conflicts=('ibus-libthai-svn')
replaces=('ibus-libthai-svn')
+provides=("${pkgname}=${pkgver}")
backup=()
install=
source=("https://github.com/tlwg/ibus-libthai/archive/r_${_pkgver}.tar.gz")