[arch-commits] Commit in scantailor/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Fri Aug 31 18:12:37 UTC 2018
Date: Friday, August 31, 2018 @ 18:12:36
Author: spupykin
Revision: 375890
Modified:
scantailor/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-31 17:35:30 UTC (rev 375889)
+++ PKGBUILD 2018-08-31 18:12:36 UTC (rev 375890)
@@ -5,20 +5,22 @@
pkgname=scantailor
pkgver=0.9.12.2
pkgrel=2
-_realver=EXPERIMENTAL_2016_02_22
+#_realver=EXPERIMENTAL_2016_02_22
+_commit=c808c9c44b98614ec1fa69ed89083610945e91ef
pkgdesc="Interactive post-processing tool for scanned pages"
arch=(x86_64)
url="http://scantailor.org/"
license=("GPL")
depends=('qt5-base' 'libtiff' 'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('cmake' 'qt5-tools' 'eigen' 'boost')
-source=($pkgname-$_realver.tar.gz::https://github.com/Tulon/$pkgname/archive/$_realver.tar.gz
+makedepends=('cmake' 'qt5-tools' 'eigen' 'boost' 'git')
+#source=($pkgname-$_realver.tar.gz::https://github.com/Tulon/$pkgname/archive/$_realver.tar.gz
+source=(git://github.com/Tulon/scantailor.git#commit=${_commit}
scantailor.desktop)
-sha256sums=('157f5cae617041eefa84c41e87bc18747bafc73eead16f73c2c6c0a717a82fab'
+sha256sums=('SKIP'
'3c191c0380f991709bd38a0ace6adbf351fca441a2c5fd432e56a0da6b68a728')
build() {
- cd "$srcdir"/$pkgname-$_realver
+ cd "$srcdir"/$pkgname
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -27,7 +29,7 @@
}
package() {
- cd "$srcdir"/$pkgname-$_realver
+ cd "$srcdir"/$pkgname
make DESTDIR="$pkgdir" install
install -Dm0644 "resources/appicon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/scantailor.svg"
install -Dm0644 "$srcdir/scantailor.desktop" "$pkgdir/usr/share/applications/scantailor.desktop"
More information about the arch-commits
mailing list