summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaultDon2015-08-19 15:42:44 -0700
committerSaultDon2015-08-19 15:42:44 -0700
commita5521d0dc9f35547381873ba08a072c3a39fcad9 (patch)
treee1da2e9197b60ee38b58fdb4dcc90467001c1b8a
parent057bf0b07400e9438bba4e0783d1373f05f76039 (diff)
downloadaur-a5521d0dc9f35547381873ba08a072c3a39fcad9.tar.gz
Update to 1.4-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD48
-rw-r--r--filegdb-api.changelog4
-rw-r--r--filegdb-api.install5
4 files changed, 33 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b715f64e7d3..b4b3039a9e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = filegdb-api
pkgdesc = ESRI File Geodatabase (FileGDB) API
- pkgver = 1.3
- pkgrel = 2
+ pkgver = 1.4
+ pkgrel = 1
url = http://www.esri.com/apps/products/download/#File_Geodatabase_API_1.3
- install = filegdb-api.install
changelog = filegdb-api.changelog
arch = i686
arch = x86_64
@@ -11,7 +10,6 @@ pkgbase = filegdb-api
makedepends = libxml2
makedepends = gcc>=3.4.6
optdepends = gdal-filegdb: wrapper
- noextract = filegdb-api-1.3.tar.gz
pkgname = filegdb-api
diff --git a/PKGBUILD b/PKGBUILD
index e87b258e9ef..afbfcb34aae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: SaultDon <sault.don gmail>
pkgname=filegdb-api
_pkgname=FileGDB_API
-pkgver=1.3
-pkgrel=2
+pkgver=1.4
+pkgrel=1
pkgdesc="ESRI File Geodatabase (FileGDB) API"
arch=('i686' 'x86_64')
url="http://www.esri.com/apps/products/download/#File_Geodatabase_API_1.3"
@@ -10,34 +10,38 @@ license=('custom:"ESRI - User Restrictions"')
makedepends=('libxml2' 'gcc>=3.4.6')
optdepends=('gdal-filegdb: wrapper')
changelog=$pkgname.changelog
-install=$pkgname.install
case $CARCH in
i686)
source=($pkgname-$pkgver.tar.gz::http://downloads2.esri.com/Software/${_pkgname}_${pkgver//./_}-32.tar.gz)
- md5sums=('f54739d309436f96d0a23149bf08ac53')
+ md5sums=('e6eae3f612b7001ae3b1313d9797f3ef')
;;
x86_64)
source=($pkgname-$pkgver.tar.gz::http://downloads2.esri.com/Software/${_pkgname}_${pkgver//./_}-64.tar.gz)
- md5sums=('167ed3d756ad961c0849a9387f4be733')
+ md5sums=('40c3e48e080947c1b6890063fa9f64c5')
;;
esac
-noextract=($pkgname-$pkgver.tar.gz)
+
+prepare() {
+ cd $srcdir
+ mv FileGDB_API-* $pkgname
+}
build() {
- tar xzvf $pkgname-$pkgver.tar.gz
+ cd $srcdir/$pkgname
#Build for linux
- export CPPFLAGS=-Dlinux
+ export CPPFLAGS+=" -Dlinux"
#Setup LD_LIBRARY_PATH
- export LD_LIBRARY_PATH=$srcdir/${_pkgname}/lib:$LD_LIBRARY_PATH
+ export LD_LIBRARY_PATH=$srcdir/${pkgname}/lib:$LD_LIBRARY_PATH
+
#Building all samples
- cd "$srcdir/${_pkgname}/samples"
+ cd "$srcdir/${pkgname}/samples"
make
# Building ProcessTopology
- cd "$srcdir/${_pkgname}/samples/ProcessTopologies"
+ cd "$srcdir/${pkgname}/samples/ProcessTopologies"
# Insert libxml2 library path to Makefile
sed -i '/^CXXFLAGS=/ s/$/ -I\/usr\/include\/libxml2\//' Makefile
@@ -56,17 +60,19 @@ build() {
#}
package() {
- mkdir -p $pkgdir/usr/{lib,include,share/{doc,licenses}}/$pkgname
- mkdir -p $pkgdir/usr/lib/$pkgname/{lib,include}
- mkdir -p $pkgdir/etc/ld.so.conf.d
- install -Dm644 $srcdir/${_pkgname}/license/* "$pkgdir/usr/share/licenses/$pkgname/"
- install -Dm644 $srcdir/${_pkgname}/lib/* "$pkgdir/usr/lib/$pkgname/lib/"
- install -Dm644 $srcdir/${_pkgname}/include/* "$pkgdir/usr/lib/$pkgname/include/"
- cp -r $srcdir/${_pkgname}/doc/html "$pkgdir/usr/share/doc/$pkgname/"
- echo "/usr/lib/$pkgname/lib" > $pkgdir/etc/ld.so.conf.d/$pkgname.conf
+ cd $pkgdir
+
+ mkdir -p $pkgdir/usr/{lib,share/{doc,licenses}/$pkgname}
+ mkdir -p $pkgdir/usr/include
+
+ install -Dm644 $srcdir/${pkgname}/license/* "$pkgdir/usr/share/licenses/$pkgname/"
+ install -Dm644 $srcdir/${pkgname}/lib/* "$pkgdir/usr/lib/"
+ install -Dm644 $srcdir/${pkgname}/include/* "$pkgdir/usr/include/"
+
+ cp -r $srcdir/${pkgname}/doc/html "$pkgdir/usr/share/doc/$pkgname/"
+
find $pkgdir/usr/share/doc/$pkgname/ -type d -exec chmod 755 '{}' \;
find $pkgdir/usr/share/doc/$pkgname/ -type f -exec chmod 644 '{}' \;
+
chown root: $pkgdir/usr/share/doc/$pkgname/*
- chmod 644 $pkgdir/etc/ld.so.conf.d/$pkgname.conf
- chown root: $pkgdir/etc/ld.so.conf.d/$pkgname.conf
}
diff --git a/filegdb-api.changelog b/filegdb-api.changelog
index 6602a849d09..52c6adb96dd 100644
--- a/filegdb-api.changelog
+++ b/filegdb-api.changelog
@@ -1,3 +1,7 @@
+2015-08-19 SaultDon <sault.don gmail>
+ * 1.4-1 :
+ - updated to new release
+
2013-03-18 SaultDon <sault.don gmail>
* 1.3-2 :
diff --git a/filegdb-api.install b/filegdb-api.install
deleted file mode 100644
index 6b688acc6c6..00000000000
--- a/filegdb-api.install
+++ /dev/null
@@ -1,5 +0,0 @@
-post_install() {
- sbin/ldconfig
- echo "## Please see the ESRI license agreements installed to /usr/share/licenses/filegdb-api"
- echo "## See license agreements userrestrictions.txt and E204_E300.pdf"
-}