summaryrefslogtreecommitdiff
path: root/inkscape/Pkgfile
blob: f205286a115d6dd7c3a5b34a9741af106d2ef98a (plain)
    1 # Description: An open source SVG editor.
    2 # URL: https://www.inkscape.org/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: boehm-gc boost gsl gtkmm intltool poppler-glib popt
    5 
    6 name=inkscape
    7 version=0.92.0
    8 release=1
    9 source=(https://inkscape.org/gallery/item/10552/$name-$version.tar.bz2)
   10 
   11 build() {
   12 	cd $name-$version
   13 
   14 	CXXFLAGS+=' -std=c++11'
   15 
   16 	./autogen.sh
   17 
   18 	./configure \
   19 		--prefix=/usr \
   20 		--disable-nls \
   21 		--enable-lcms \
   22 		--enable-poppler-cairo \
   23 		--disable-strict-build \
   24 		--disable-dependency-tracking
   25 
   26 	make
   27 	make DESTDIR=$PKG install
   28 
   29 	rm \
   30 		$PKG/usr/share/man/man1/inkscape.??.1 \
   31 		$PKG/usr/share/man/man1/inkscape.zh_TW.1
   32 
   33 	rm -r \
   34 		$PKG/usr/share/man/?? \
   35 		$PKG/usr/share/man/zh_TW
   36 
   37 	find $PKG/usr/share/inkscape -name README -exec rm -f {} +
   38 	/usr/bin/python -mcompileall $PKG
   39 }

Generated by cgit