summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNikolay Korotkiy2016-04-24 10:21:02 +0300
committerNikolay Korotkiy2016-04-24 10:21:02 +0300
commitda21d4780387b55f014a86b12af7154c7e683b50 (patch)
tree46d1e38cbe4efdec9d6b12a75b7241115dc9eec4 /PKGBUILD
downloadaur-da21d4780387b55f014a86b12af7154c7e683b50.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dfe24aaae8a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Nikolay Korotkiy <sikmir@gmail.com>
+
+pkgname=mapsoft
+pkgver=20160202
+pkgrel=1
+pkgdesc="Programs for working with maps and geodata"
+arch=('i686' 'x86_64')
+url="http://slazav.mccme.ru/prog/mapsoft.htm"
+license=('GPL')
+depends=('cairomm' 'curl' 'giflib4' 'gtkmm' 'libjpeg-turbo' 'libpng' 'libtiff' 'libusb' 'libxml2' 'libyaml' 'libzip' 'pixman' 'proj' 'zlib')
+makedepends=('boost' 'netpbm' 'perl' 'scons' 'transfig')
+source=("https://github.com/ushakov/${pkgname}/archive/${pkgver}-alt1.tar.gz"
+ "giflib42.patch")
+sha256sums=('9138deccec892d939b860ab7aebd8053eb390989ffb5ce41304be0b9588fdbc1'
+ '356d474d362d84f933d1aa7f11f7d13cccb1031c8d578ecc2a601c39dd88f467')
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}-alt1
+ patch -Np1 <../giflib42.patch
+}
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}-alt1
+ scons -j1 -Q prefix=${pkgdir} -Q minimal=1
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}-alt1
+ scons -j1 -Q prefix=${pkgdir} install
+}