diff options
author | Deposite Pirate | 2019-05-30 19:39:15 +0200 |
---|---|---|
committer | Deposite Pirate | 2019-05-30 19:39:15 +0200 |
commit | 9bd48a79729bb8f640314610a67bfb2499661d47 (patch) | |
tree | bf7943fe3c2c2ac48fd58f2f531eb58a5af65348 | |
parent | 82f7a6824d04bfd69a2cf678c7f3d2ab213e3cb1 (diff) |
* Update build to use meson.
modified: .SRCINFO
modified: PKGBUILD
-rw-r--r-- | hexchat-otr-git/.SRCINFO | 8 | ||||
-rw-r--r-- | hexchat-otr-git/PKGBUILD | 15 |
2 files changed, 11 insertions, 12 deletions
diff --git a/hexchat-otr-git/.SRCINFO b/hexchat-otr-git/.SRCINFO index 753b8c8..456fc54 100644 --- a/hexchat-otr-git/.SRCINFO +++ b/hexchat-otr-git/.SRCINFO @@ -1,19 +1,19 @@ pkgbase = hexchat-otr-git pkgdesc = OTR support for hexchat - pkgver = r50.ga7a6016 - pkgrel = 2 + pkgver = r52.g22d5495 + pkgrel = 1 url = https://github.com/TingPing/hexchat-otr arch = i686 arch = x86_64 license = GPL2 makedepends = git - makedepends = gnome-common + makedepends = meson depends = hexchat depends = libotr>=4.1.0 provides = hexchat-otr conflicts = hexchat-otr source = hexchat-otr-git::git+https://github.com/TingPing/hexchat-otr - md5sums = SKIP + sha256sums = SKIP pkgname = hexchat-otr-git diff --git a/hexchat-otr-git/PKGBUILD b/hexchat-otr-git/PKGBUILD index ef87165..fed385c 100644 --- a/hexchat-otr-git/PKGBUILD +++ b/hexchat-otr-git/PKGBUILD @@ -3,18 +3,18 @@ # Upstream: https://git.metalpunks.info/arch-ports pkgname=hexchat-otr-git -pkgver=r50.ga7a6016 -pkgrel=2 +pkgver=r52.g22d5495 +pkgrel=1 pkgdesc="OTR support for hexchat" url="https://github.com/TingPing/hexchat-otr" license=('GPL2') arch=('i686' 'x86_64') depends=('hexchat' 'libotr>=4.1.0') -makedepends=('git' 'gnome-common') +makedepends=('git' 'meson') conflicts=('hexchat-otr') provides=('hexchat-otr') source=("${pkgname}::git+${url}") -md5sums=('SKIP') +sha256sums=('SKIP') pkgver() { cd "${pkgname}" @@ -25,12 +25,11 @@ pkgver() { build() { cd "${pkgname}" - ./autogen.sh - CFLAGS="${CFLAGS}" ./configure --prefix="/usr" - make + arch-meson build -D local_install=false + ninja -C build } package() { cd "${pkgname}" - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja -C build install } |