[arch-commits] Commit in nautilus-python/repos/community-x86_64 (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Mon Dec 17 14:23:48 UTC 2018
Date: Monday, December 17, 2018 @ 14:23:47
Author: bgyorgy
Revision: 416530
archrelease: copy trunk to community-x86_64
Added:
nautilus-python/repos/community-x86_64/PKGBUILD
(from rev 416529, nautilus-python/trunk/PKGBUILD)
Deleted:
nautilus-python/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 81 +++++++++++++++++++++----------------------------------------
1 file changed, 28 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-17 14:23:43 UTC (rev 416529)
+++ PKGBUILD 2018-12-17 14:23:47 UTC (rev 416530)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Giorgio Gilestro <giorgio at gilest.ro>
-
-pkgbase=nautilus-python
-pkgname=('python-nautilus' 'python2-nautilus')
-pkgver=1.2.2
-pkgrel=2
-pkgdesc="Python bindings for the Nautilus Extension API"
-arch=('x86_64')
-url="https://wiki.gnome.org/Projects/NautilusPython"
-license=('GPL')
-depends=('nautilus' 'python-gobject' 'python2-gobject')
-makedepends=('gtk-doc')
-source=(https://download.gnome.org/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
-sha256sums=('90cda3fd613ed012214e47c2dc6f814db4e204a5af38e840479819ab9c59f112')
-
-build() {
- # Python 3 version
- [ -d gtk3 ] || cp -r $pkgbase-$pkgver python3
- cd python3
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-gtk-doc \
- PYTHON=python3
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-
- cd "$srcdir"
- # Python 2 version
- [ -d gtk2 ] || cp -r $pkgbase-$pkgver python2
- cd python2
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-gtk-doc \
- PYTHON=python2
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-package_python-nautilus() {
- pkgdesc="Python 3 bindings for the Nautilus Extension API"
- depends=('nautilus' 'python-gobject')
- conflicts=('python2-nautilus')
-
- cd python3
- make DESTDIR="$pkgdir" install
-}
-
-package_python2-nautilus() {
- pkgdesc="Python 2 bindings for the Nautilus Extension API"
- depends=('nautilus' 'python2-gobject')
- conflicts=('python-nautilus')
-
- cd python2
- make DESTDIR="$pkgdir" install
-}
Copied: nautilus-python/repos/community-x86_64/PKGBUILD (from rev 416529, nautilus-python/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-17 14:23:47 UTC (rev 416530)
@@ -0,0 +1,28 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Giorgio Gilestro <giorgio at gilest.ro>
+
+pkgbase=nautilus-python
+pkgname=python-nautilus
+pkgver=1.2.2
+pkgrel=3
+pkgdesc="Python bindings for the Nautilus Extension API"
+arch=(x86_64)
+url="https://wiki.gnome.org/Projects/NautilusPython"
+license=(GPL2)
+depends=(nautilus python-gobject)
+makedepends=(gtk-doc)
+source=(https://download.gnome.org/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
+sha256sums=('90cda3fd613ed012214e47c2dc6f814db4e204a5af38e840479819ab9c59f112')
+
+build() {
+ cd $pkgbase-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-gtk-doc \
+ PYTHON=python3
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package_python-nautilus() {
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list