summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d226ea1cfd7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Christian Hesse <mail@eworm.de>
+
+pkgname=cqrlogo
+pkgver=0.5.3
+pkgrel=3
+pkgdesc="CGI QR-Code logo for web services"
+arch=('i686' 'x86_64')
+url="https://github.com/eworm-de/cqrlogo"
+depends=('iniparser' 'libpng' 'qrencode')
+makedepends=('fcgi' 'markdown')
+optdepends=('apache: for apache web server inclusion'
+ 'fcgi: for FastCGI version'
+ 'lighttpd: for lighttpd web server inclusion'
+ 'mod_fastcgi: for fastcgi in apache web server'
+ 'mod_fcgid: for fastcgi in apache web server')
+conflicts=('cqrlogo-git')
+checkdepends=('zbar' 'pngcheck')
+license=('GPL')
+install=cqrlogo.install
+backup=('etc/cqrlogo.conf'
+ 'etc/httpd/conf/extra/cqrlogo.conf'
+ 'etc/lighttpd/conf.d/cqrlogo.conf')
+validpgpkeys=('BD84DE71F493DF6814B0167254EDC91609BC9183')
+source=("http://www.eworm.de/download/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=('c3d9e3ccdf0a364a2ba980f2e73d4388198439f08e0300372dd29cfe400ea3da'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}/
+
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}/
+
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/
+
+ make DESTDIR="${pkgdir}" install
+}
+