[arch-commits] Commit in bless/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Oct 5 04:26:20 UTC 2020


    Date: Monday, October 5, 2020 @ 04:26:19
  Author: svenstaro
Revision: 718681

upgpkg: bless 0.6.2.git1.59aaaba-1: Go up to recent git version

I also bothered upstream to make a new release in the hope that we can get another official release here soon.

Modified:
  bless/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++----------------------
 1 file changed, 12 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-05 01:58:17 UTC (rev 718680)
+++ PKGBUILD	2020-10-05 04:26:19 UTC (rev 718681)
@@ -5,38 +5,28 @@
 # Contributor: dcraven <dcraven at gmail.com>
 
 pkgname=bless
-pkgver=0.6.2
-pkgrel=4
+_commit=59aaaba
+pkgver=0.6.2.git1.$_commit
+pkgrel=1
 pkgdesc="High-quality, full-featured hex editor"
 arch=('any')
 url="https://github.com/afrantzis/bless"
 license=('GPL')
 depends=('gtk-sharp-2')
-source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/afrantzis/bless/archive/v${pkgver}.tar.gz"
-        "fix-20.patch"
-        "scrollkeeper.patch")
-sha256sums=('1a9a38ec8d29e4cd3991413087a11a935577419ae9d5469edafc18cba157f827'
-            'e6cc5ae6a63d185721e1273e0336a52ec5130f1dbc238672a2a697fc84498c45'
-            '14458361070617befc1f540b426fcfcf13a6d015c7ac1c9965b8565429f2ab74')
+makedepends=('git' 'meson' 'ninja')
+source=(${pkgname}::git+https://github.com/afrantzis/bless.git)
+sha256sums=('SKIP')
 
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+build() {
+  cd "$pkgname"
 
-  patch -Np1 -i "${srcdir}/fix-20.patch"
-  patch -Np1 -i "${srcdir}/scrollkeeper.patch"
+  arch-meson -Dtests=false -Dhtml_user_doc=false build
 
-  ./autogen.sh
+  ninja -C build
 }
 
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr
-  make
-}
-
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$pkgname"
 
-  make DESTDIR="${pkgdir}" MKDIR_P='mkdir -p' install
+  DESTDIR="$pkgdir" ninja -C build install
 }



More information about the arch-commits mailing list