summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzocker-1602020-08-06 00:13:26 +0200
committerzocker-1602020-08-06 00:13:26 +0200
commit4b65781d724a2bcf0f1cf98cc32fa51365fee426 (patch)
treefbacae994ca59052b2f72cb4ed7c12a2f877a0d3
parent6df32f9320d15d56d5a662827162ee4c5016c768 (diff)
downloadaur-4b65781d724a2bcf0f1cf98cc32fa51365fee426.tar.gz
update to new meson build system
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD27
2 files changed, 22 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48625c6ad32..1ad0dc81c79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,19 @@
pkgbase = bless-git
pkgdesc = High-quality, full-featured hex editor (git version)
- pkgver = r169.db747af
+ pkgver = r181.59aaaba
pkgrel = 1
url = https://github.com/afrantzis/bless
arch = any
license = GPL
- makedepends = rarian
- makedepends = automake
+ makedepends = libxslt
+ makedepends = meson
depends = gtk-sharp-2
+ depends = mono
conflicts = bless
source = git://github.com/afrantzis/bless.git
+ source = bless_bin
sha256sums = SKIP
+ sha256sums = b114dd9045c1fc2cfbaba5ff1aa02864429916a5356db71ed8b7e740d2352e07
pkgname = bless-git
diff --git a/PKGBUILD b/PKGBUILD
index ec8b5706a61..1aa850f56c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,25 @@
-# Maintainer: Roberto Nobrega <rwnobrega@gmail.com>
+# Maintainer:zocker_160 <zocker1600 at posteo dot net>
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: TDY <tdy@gmx.com>
# Contributor: dcraven <dcraven@gmail.com>
+# Contributor: Roberto Nobrega <rwnobrega@gmail.com>
pkgname=bless-git
_gitname=bless
-pkgver=r169.db747af
+pkgver=r181.59aaaba
pkgrel=1
pkgdesc="High-quality, full-featured hex editor (git version)"
arch=('any')
url="https://github.com/afrantzis/bless"
-license=('GPL')
-depends=('gtk-sharp-2')
+license=('GPL2')
+depends=('gtk-sharp-2' 'mono')
conflicts=('bless')
-makedepends=('rarian' 'automake')
-source=("git://github.com/afrantzis/bless.git")
-sha256sums=('SKIP')
+makedepends=('libxslt' 'meson')
+source=("git://github.com/afrantzis/bless.git"
+ "bless_bin")
+sha256sums=('SKIP'
+ 'b114dd9045c1fc2cfbaba5ff1aa02864429916a5356db71ed8b7e740d2352e07')
pkgver() {
cd ${srcdir}/${_gitname}/
@@ -25,16 +28,18 @@ pkgver() {
prepare() {
cd ${srcdir}/${_gitname}
- ./autogen.sh
+ meson setup build -Dprefix="${pkgdir}" -Dtests=false --buildtype=release
}
build() {
cd ${srcdir}/${_gitname}
- ./configure --prefix=/usr
- make
+ ninja -C build
}
package() {
cd ${srcdir}/${_gitname}
- make DESTDIR="${pkgdir}" MKDIR_P='mkdir -p' install
+ ninja -C build install
+
+ rm "${pkgdir}/bin/bless"
+ cp "${srcdir}/bless_bin" "${pkgdir}/bin/bless"
}