void-packages/srcpkgs/simple-scan/template
2016-11-19 10:29:43 +01:00

23 lines
826 B
Bash

# Template file for 'simple-scan'
pkgname=simple-scan
version=3.22.0.1
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-packagekit"
hostmakedepends="pkg-config itstool intltool glib-devel vala"
makedepends="colord-devel gtk+3-devel sqlite-devel dconf-devel sane-devel
libgudev-devel libgusb-devel"
depends="hicolor-icon-theme sane"
short_desc="A GTK Simple scanning utility"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://launchpad.net/simple-scan"
distfiles="https://launchpad.net/$pkgname/${version%.*.*}/$version/+download/$pkgname-$version.tar.xz"
checksum=c505b6e63379c9256fbeaa4def3e595fd063d46a8a852ed90218d336291d2b50
nocross=yes
pre_configure() {
sed -i 's/--strict//' configure
# Regenerate ui.c with packagekit disabled
touch src/ui.vala
}