arllinux 1 year ago
parent
commit
d8ec7d9891
2 changed files with 55 additions and 0 deletions
  1. 23 0
      Pkgfile/desktop/grisbi/Pkgfile
  2. 32 0
      Pkgfile/graphic/scribus/Pkgfile

+ 23 - 0
Pkgfile/desktop/grisbi/Pkgfile

@@ -0,0 +1,23 @@
+# Depends on: desktop-file-utils gtk2 gettext grep intltool
+
+description="Personal financial management program"
+url="http://www.grisbi.org/"
+packager="Jean-Pierre Antinoux at free dot fr"
+name=grisbi
+version=1.0.2
+release=1
+
+source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2)
+
+build() {
+
+  cd $name-$version
+  ./configure \
+          --prefix=/usr
+          
+  make
+  make DESTDIR=$PKG install
+
+  install -Dm644 $SRC/$name-$version/grisbi.desktop \
+  $PKG/usr/share/applications/grisbi.desktop
+}

+ 32 - 0
Pkgfile/graphic/scribus/Pkgfile

@@ -0,0 +1,32 @@
+# Depends on: cmake boost aspell cups qt4 gnutls kerberos boost ghostscript lcms libxml2 cairo desktop-file-utils shared-mime-info
+
+description="Desktop publishing software"
+url="http://www.scribus.net"
+packager="pierre at nutyx dot org, tnut at nutyx dot org"
+name=scribus
+version=1.4.6
+release=1
+
+source=(http://downloads.sourceforge.net/$name/$name-$version.tar.xz)
+
+build() {
+	unset MAKEFLAGS
+	cd $SRC*
+
+	sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+	       -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+               scribus-$version/scribus/plugins/scriptplugin/{samples,scripts}/*
+
+	cd $name-$version
+	mkdir build
+	cd build
+	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_SKIP_RPATH=ON \
+	  	-DWANT_CAIRO=1 \
+                -DLIB_SUFFIX=""
+	make
+	make DESTDIR=$PKG install
+	install -Dm644 $SRC/$name-$version/scribus.desktop \
+	$PKG/usr/share/applications/scribus.desktop
+}
+