Date: Wednesday, July 29, 2020 @ 22:29:10 Author: heftig Revision: 392705
archrelease: copy trunk to extra-x86_64 Added: libteam/repos/extra-x86_64/PKGBUILD (from rev 392703, libteam/trunk/PKGBUILD) Deleted: libteam/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-29 22:29:09 UTC (rev 392704) +++ PKGBUILD 2020-07-29 22:29:10 UTC (rev 392705) @@ -1,54 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> - -pkgname=libteam -pkgver=1.30 -pkgrel=1 -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 swig git doxygen graphviz) -_commit=471fb50d206e5a3f2eef9e4247329b51edc5c493 # tags/v1.30 -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 - 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 - - cd binding/python - python setup.py build -} - -check() { - cd $pkgname - make check -} - -package() { - cd $pkgname - make DESTDIR="$pkgdir" install - - install -Dt "$pkgdir/usr/lib/systemd/system" -m644 teamd/redhat/systemd/teamd@.service - install -Dt "$pkgdir/usr/share/dbus-1/system.d" -m644 teamd/dbus/teamd.conf - - mkdir -p "$pkgdir/usr/share/doc/$pkgname" - cp -a doc/api "$pkgdir/usr/share/doc/$pkgname" - - cd binding/python - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: libteam/repos/extra-x86_64/PKGBUILD (from rev 392703, libteam/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-29 22:29:10 UTC (rev 392705) @@ -0,0 +1,54 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> + +pkgname=libteam +pkgver=1.31 +pkgrel=1 +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 swig git doxygen graphviz) +_commit=3ee12c6d569977cf1cd30d0da77807a07aa77158 # tags/v1.31 +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 + 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 + + cd binding/python + python setup.py build +} + +check() { + cd $pkgname + make check +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install + + install -Dt "$pkgdir/usr/lib/systemd/system" -m644 teamd/redhat/systemd/teamd@.service + install -Dt "$pkgdir/usr/share/dbus-1/system.d" -m644 teamd/dbus/teamd.conf + + mkdir -p "$pkgdir/usr/share/doc/$pkgname" + cp -a doc/api "$pkgdir/usr/share/doc/$pkgname" + + cd binding/python + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}