-
Notifications
You must be signed in to change notification settings - Fork 16
/
PKGBUILD
32 lines (27 loc) · 895 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
pkgname=librsvg
pkgver=2.58.1
_pkgver=2.58
pkgrel=1
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
arch=('x86_64')
url="https://live.gnome.org/LibRsvg"
license=('LGPL')
depends=('gdk-pixbuf2' 'pango' 'libcroco')
makedepends=('intltool' 'gobject-introspection' 'rust' 'python3-docutils')
options=('!libtool')
source=("https://ftp.gnome.org/pub/gnome/sources/librsvg/${_pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('3728596290a8576d305d06ec8afdf473516feee9dff22e03235eac433d56824e')
build() {
cd ${pkgname}-${pkgver}
# issue with current cargo https://github.com/rust-lang/cargo/issues/3340#issuecomment-263699137
#export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
./configure --prefix=/usr \
--libexecdir=/usr/lib/${pkgname} \
--disable-static \
--disable-gtk-doc
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}