summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2016-11-04 20:42:10 +0100
committerStefan Husmann2016-11-04 20:42:10 +0100
commit765d0044d600c9be23913d38baee7872239a1d75 (patch)
treea11e47ea5161c26f036df5e1d11318459a659e76
parent10cbef1db9307de96766c52414929c699e444535 (diff)
downloadaur-765d0044d600c9be23913d38baee7872239a1d75.tar.gz
update
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD19
2 files changed, 10 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 203ef4c5b63..cd56afbd99e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Sun Jan 17 14:43:22 UTC 2016
pkgbase = libcd
pkgdesc = Platform-independent graphics library
- pkgver = 5.9
+ pkgver = 5.11
pkgrel = 1
url = http://www.tecgraf.puc-rio.br/cd/
arch = i686
@@ -10,19 +8,16 @@ pkgbase = libcd
license = custom
makedepends = lua
depends = ftgl
- depends = libim
- depends = pdflib-lite
depends = gtk3
depends = libxmu
- depends = pangox-compat
options = staticlibs
- source = http://downloads.sourceforge.net/project/canvasdraw/5.9/Docs%20and%20Sources/cd-5.9_Sources.tar.gz
- source = http://downloads.sourceforge.net/project/canvasdraw/5.9/Docs%20and%20Sources/cd-5.9_Docs.pdf
+ source = http://downloads.sourceforge.net/project/canvasdraw/5.11/Docs%20and%20Sources/cd-5.11_Sources.tar.gz
+ source = http://downloads.sourceforge.net/project/canvasdraw/5.11/Docs%20and%20Sources/cd-5.11_Docs.pdf
source = LICENSE
source = cdpdf.mak.patch
source = cdluaim5.patch
- md5sums = 9a959d91c2165e382b552ecbebc9669d
- md5sums = 11dfb228d3da8498ccd72a5da56ef6fa
+ md5sums = fe722e1217412135b1be7752ee59958f
+ md5sums = b5869667080daba6ecfdd5ba0f54f8bb
md5sums = 3b326faf9f9ab35096453525b55bd8c8
md5sums = eec4463334ef927ed6c4ccb81086c6df
md5sums = ed8a4b981b24f38d82efd8aa5b3dea87
diff --git a/PKGBUILD b/PKGBUILD
index 77d0662ae85..36c9161c8ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=libcd
-pkgver=5.9
+pkgver=5.11
pkgrel=1
pkgdesc="Platform-independent graphics library"
arch=('i686' 'x86_64')
url="http://www.tecgraf.puc-rio.br/cd/"
-depends=('ftgl' 'libim' 'pdflib-lite' 'gtk3' 'libxmu' 'pangox-compat')
+depends=('ftgl' 'gtk3' 'libxmu')
makedepends=('lua')
license=('custom')
options=('staticlibs')
@@ -19,20 +19,12 @@ source=(
cdpdf.mak.patch
cdluaim5.patch
)
-md5sums=('9a959d91c2165e382b552ecbebc9669d'
- '11dfb228d3da8498ccd72a5da56ef6fa'
+md5sums=('fe722e1217412135b1be7752ee59958f'
+ 'b5869667080daba6ecfdd5ba0f54f8bb'
'3b326faf9f9ab35096453525b55bd8c8'
'eec4463334ef927ed6c4ccb81086c6df'
'ed8a4b981b24f38d82efd8aa5b3dea87')
-
-prepare() {
- cd "$srcdir"/cd
- patch -p0 < "$srcdir"/cdluaim5.patch
- cd "$srcdir"/cd/src
- patch -uN cdpdf.mak "$srcdir"/cdpdf.mak.patch
-}
-
build() {
cd "$srcdir"/cd
make || true
@@ -42,10 +34,9 @@ package() {
cd "$srcdir"/cd
install -m755 -d "$pkgdir"/usr/lib
install -m644 lib/L*/*.{a,so} "$pkgdir"/usr/lib
- rm "$pkgdir"/usr/lib/lib{freetype,z,ftgl}.so "$pkgdir"/usr/lib/libz.a
install -m755 -d "$pkgdir"/usr/share/$pkgname
install -m644 "$srcdir"/cd-${pkgver}_Docs.pdf "$pkgdir"/usr/share/$pkgname
install -m755 -d "$pkgdir"/usr/include/cd
install -m644 "$srcdir"/cd/include/* "$pkgdir"/usr/include/cd
- install -Dm644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+ install -Dm644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}