initial import
This commit is contained in:
34
wxsvg/PKGBUILD
Normal file
34
wxsvg/PKGBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=wxsvg
|
||||
pkgver=1.5.22
|
||||
pkgrel=1
|
||||
pkgdesc="C++ library to create, manipulate and render SVG files"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://wxsvg.sourceforge.net/'
|
||||
license=('wxWindows-Library-3')
|
||||
depends=('ffmpeg' 'libexif' 'wxgtk3')
|
||||
makedepends=('webkitgtk')
|
||||
source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
|
||||
sha512sums=('de9ffe314293267b728d0c9bd79b72c87ab057ca9e40af4e7f248ff4e39040a8f1b2a95a1e0bf2db20f3e718ad585e26dc8e69beeeb23b3161edac447e3cfe7b')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
sed -i 's/libwxsvg_la_LDFLAGS = /libwxsvg_la_LDFLAGS = $(LDFLAGS) /' src/Makefile.am
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-wx-config=/usr/bin/wx-config-gtk3
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user