[arch-commits] Commit in libteam/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 14:56:38 UTC 2019
Date: Friday, October 25, 2019 @ 14:56:37
Author: felixonmars
Revision: 365572
archrelease: copy trunk to staging-x86_64
Added:
libteam/repos/staging-x86_64/PKGBUILD
(from rev 365571, libteam/trunk/PKGBUILD)
Deleted:
libteam/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-25 14:56:18 UTC (rev 365571)
+++ PKGBUILD 2019-10-25 14:56:37 UTC (rev 365572)
@@ -1,62 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=libteam
-pkgver=1.29
-pkgrel=2
-pkgdesc="Library for controlling team network device"
-arch=(x86_64)
-url="http://libteam.org/"
-license=(LGPL)
-depends=(libnl libdaemon jansson libdbus bash zeromq)
-makedepends=(python python2 swig git doxygen graphviz)
-_commit=e897f02bf2403d4859a99e090e34ea768b4c0540 # tags/v1.29
-source=("git+https://github.com/jpirko/libteam#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
- cd $pkgname
-
- # Reduce docs size
- printf '%s\n' >>doc/Doxyfile.in \
- HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
-
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --libexecdir=/usr/lib
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make all html
-
- cp -aT binding/python binding/python2
- (cd binding/python; python ./setup.py build;)
- (cd binding/python2; python2 ./setup.py build;)
-}
-
-check() {
- cd $pkgname
- make check
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-
- install -Dm644 teamd/redhat/systemd/teamd at .service \
- "$pkgdir/usr/lib/systemd/system/teamd at .service"
- install -Dm644 teamd/dbus/teamd.conf \
- "$pkgdir/usr/share/dbus-1/system.d/teamd.conf"
-
- (cd binding/python; python ./setup.py install --root "$pkgdir" -O1;)
- (cd binding/python2; python2 ./setup.py install --root "$pkgdir" -O1;)
-
- mkdir -p "$pkgdir/usr/share/doc/$pkgname"
- cp -a doc/api "$pkgdir/usr/share/doc/$pkgname"
-}
Copied: libteam/repos/staging-x86_64/PKGBUILD (from rev 365571, libteam/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-25 14:56:37 UTC (rev 365572)
@@ -0,0 +1,62 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libteam
+pkgver=1.29
+pkgrel=3
+pkgdesc="Library for controlling team network device"
+arch=(x86_64)
+url="http://libteam.org/"
+license=(LGPL)
+depends=(libnl libdaemon jansson libdbus bash zeromq)
+makedepends=(python python2 swig git doxygen graphviz)
+_commit=e897f02bf2403d4859a99e090e34ea768b4c0540 # tags/v1.29
+source=("git+https://github.com/jpirko/libteam#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+
+ # Reduce docs size
+ printf '%s\n' >>doc/Doxyfile.in \
+ HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --libexecdir=/usr/lib
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make all html
+
+ cp -aT binding/python binding/python2
+ (cd binding/python; python ./setup.py build;)
+ (cd binding/python2; python2 ./setup.py build;)
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 teamd/redhat/systemd/teamd at .service \
+ "$pkgdir/usr/lib/systemd/system/teamd at .service"
+ install -Dm644 teamd/dbus/teamd.conf \
+ "$pkgdir/usr/share/dbus-1/system.d/teamd.conf"
+
+ (cd binding/python; python ./setup.py install --root "$pkgdir" -O1;)
+ (cd binding/python2; python2 ./setup.py install --root "$pkgdir" -O1;)
+
+ mkdir -p "$pkgdir/usr/share/doc/$pkgname"
+ cp -a doc/api "$pkgdir/usr/share/doc/$pkgname"
+}
More information about the arch-commits
mailing list