[arch-commits] Commit in simple-scan/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Oct 3 17:22:36 UTC 2017
Date: Tuesday, October 3, 2017 @ 17:22:35
Author: heftig
Revision: 261403
3.26.1-1
Modified:
simple-scan/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-03 16:22:09 UTC (rev 261402)
+++ PKGBUILD 2017-10-03 17:22:35 UTC (rev 261403)
@@ -4,34 +4,29 @@
# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
pkgname=simple-scan
-pkgver=3.24.1
-pkgrel=2
+pkgver=3.26.1
+pkgrel=1
pkgdesc="Simple scanning utility"
url="https://launchpad.net/simple-scan"
arch=(i686 x86_64)
license=(GPL3)
depends=(sane dconf gtk3 colord libgusb)
-makedepends=(yelp-tools intltool vala)
+makedepends=(yelp-tools meson vala)
source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('5eae832b14664183d55aa599801cf32f19ff2174dfba4e3d7e4eb4d55810efb3')
+sha256sums=('1e756edd8903d526da1c7e54810277969700a0b9618aa3d105c914e4276ae70e')
prepare() {
+ mkdir build
cd $pkgname-$pkgver
-
- # Force regeneration
- touch src/*.vala
}
build() {
- cd $pkgname-$pkgver
- ./configure \
- --prefix=/usr \
- --disable-schemas-compile \
- --disable-packagekit
- make
+ cd build
+ arch-meson ../$pkgname-$pkgver
+ ninja
}
package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list