diff options
author | haxor | 2018-10-23 02:55:32 +0300 |
---|---|---|
committer | haxor | 2018-10-23 02:55:32 +0300 |
commit | 9e62ce078efcc6e9ae4b89f3bbc7b29038500ef6 (patch) | |
tree | dcd93f07fc7e984338501ecedea8af855d84e172 | |
parent | 2dd266e20e42a9ef68aca9be5eb84f05e2dcffbb (diff) | |
download | aur-vacuum-im.tar.gz |
PKGBUILD fixes:
* removed 'provides' and 'conflicts' entries;
* set more unique name to source archive;
* moved patching from build() to prepare();
* replaced tabs with spaces.
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 16 insertions, 18 deletions
@@ -1,7 +1,7 @@ pkgbase = vacuum-im pkgdesc = Crossplatform Jabber/XMPP client pkgver = 1.2.5 - pkgrel = 2 + pkgrel = 3 url = http://www.vacuum-im.org/ arch = i686 arch = x86_64 @@ -12,11 +12,7 @@ pkgbase = vacuum-im depends = libidn depends = libxss depends = minizip - provides = vacuum-im - provides = vacuum - conflicts = vacuum-im-git - conflicts = vacuum-svn - source = https://github.com/Vacuum-IM/vacuum-im/archive/1.2.5.tar.gz + source = vacuum-im-1.2.5.tar.gz::https://github.com/Vacuum-IM/vacuum-im/archive/1.2.5.tar.gz source = messagearchiver_build_fix.patch md5sums = 2004a882c95207b3244aadf77e822b9a md5sums = 5815ef9480dd6ad94b78907d79642b5f @@ -2,32 +2,34 @@ pkgname=vacuum-im pkgver=1.2.5 -pkgrel=2 +pkgrel=3 pkgdesc='Crossplatform Jabber/XMPP client' arch=('i686' 'x86_64') url="http://www.vacuum-im.org/" license=('GPL3') depends=('qt4' 'openssl' 'libidn' 'libxss' 'minizip') makedepends=('cmake') -provides=('vacuum-im' 'vacuum') -conflicts=('vacuum-im-git' 'vacuum-svn') -source=("https://github.com/Vacuum-IM/$pkgname/archive/$pkgver.tar.gz" +source=("$pkgname-$pkgver.tar.gz::https://github.com/Vacuum-IM/$pkgname/archive/$pkgver.tar.gz" "messagearchiver_build_fix.patch") md5sums=('2004a882c95207b3244aadf77e822b9a' '5815ef9480dd6ad94b78907d79642b5f') sha256sums=('3237933f68884fb5b3422ad0fc97083b40a7aae9d8c105a23720c09599ffe5da' '294e6639913e1d7495fb4729045683a3d61a20395d2de2de4204434c9a5050e7') +prepare() { + cd $pkgname-$pkgver + patch -p0 --binary < ../messagearchiver_build_fix.patch +} + build() { - cd $pkgname-$pkgver - patch -p0 --binary < ${srcdir}/messagearchiver_build_fix.patch - mkdir build - cd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr - make + cd $pkgname-$pkgver + mkdir build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr + make } package() { - cd $pkgname-$pkgver/build - make DESTDIR="$pkgdir/" install + cd $pkgname-$pkgver/build + make DESTDIR="$pkgdir/" install } |