diff options
Diffstat (limited to 'packagekit/Pkgfile')
-rwxr-xr-x | packagekit/Pkgfile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/packagekit/Pkgfile b/packagekit/Pkgfile new file mode 100755 index 000000000..19e75a956 --- /dev/null +++ b/packagekit/Pkgfile @@ -0,0 +1,48 @@ +# Description: Système d'installation et de mise à jour de paquets +# URL: http://www.packagekit.org/ +# Maintainer: NuTyX core team +# Packager: piernov <piernov@piernov.org> +# Depends on: glib, gtk3, dbus, dbus-glib, udev, networkmanager, polkit +# Run on: glib,gtk3,dbus,dbus-glib,udev,networkmanager,polkit + +name=packagekit +_name=PackageKit +version=0.8.1 +release=1 +source=(http://www.packagekit.org/releases/${_name}-$version.tar.xz + NuTyX.patch) + +build() { + cd ${_name}-$version + + sed -i 's@python @python2 @' 'lib/python/packagekit/Makefile.in' + sed -i 's@bin/python@bin/python2@' 'lib/python/packagekit/'*.py + export PYTHON=/usr/bin/python2 + + patch -p0 < ../NuTyX.patch + autoreconf -fi + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-qt \ + --enable-networkmanager \ + --enable-systemd \ + --disable-local \ + --enable-browser-plugin \ + --enable-gstreamer-plugin \ + --enable-gtk-module \ + --disable-schemas-compile \ + --enable-command-not-found \ + --enable-cron \ + --enable-debuginfo-install \ + --enable-device-rebind \ + --enable-pm-utils \ + --enable-systemd-updates \ + --enable-pkg-get \ + --with-mozilla-plugin-dir=/usr/lib/firefox/plugins \ + --with-systemdsystemunitdir=/usr/lib/systemd/system \ + --with-security-framework=polkit \ + --with-default-backend=pkg-get + make + make DESTDIR=$PKG install +} |