[arch-commits] Commit in media-player-info/repos/extra-any (3 files)

Jan de Groot jgc at archlinux.org
Wed Feb 14 11:08:57 UTC 2018


    Date: Wednesday, February 14, 2018 @ 11:08:56
  Author: jgc
Revision: 317003

archrelease: copy trunk to extra-any

Added:
  media-player-info/repos/extra-any/PKGBUILD
    (from rev 317002, media-player-info/trunk/PKGBUILD)
Deleted:
  media-player-info/repos/extra-any/PKGBUILD
  media-player-info/repos/extra-any/media-player-info.install

---------------------------+
 PKGBUILD                  |   79 ++++++++++++++++++++++++++------------------
 media-player-info.install |   14 -------
 2 files changed, 47 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-14 11:08:51 UTC (rev 317002)
+++ PKGBUILD	2018-02-14 11:08:56 UTC (rev 317003)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Marti Raudsepp <marti at juffo.org>
-
-pkgname=media-player-info
-pkgver=22
-pkgrel=2
-pkgdesc="Data files describing media player capabilities, for post-HAL systems"
-arch=('any')
-license=('BSD')
-url="http://cgit.freedesktop.org/media-player-info/"
-depends=('systemd')
-makedepends=('python')
-source=(http://www.freedesktop.org/software/media-player-info/$pkgname-$pkgver.tar.gz)
-sha256sums=('7ee7d7712834860533c46b16947238ef5b5d72f394fa7fb52783a15fba7b2336')
-install=media-player-info.install
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure --prefix=/usr \
-      --with-udevdir=/usr/lib/udev
-  LANG="en_US.UTF-8" make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-
-  install -d "$pkgdir/usr/share/licenses/$pkgname"
-  install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: media-player-info/repos/extra-any/PKGBUILD (from rev 317002, media-player-info/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-02-14 11:08:56 UTC (rev 317003)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Marti Raudsepp <marti at juffo.org>
+
+pkgname=media-player-info
+pkgver=23
+pkgrel=1
+pkgdesc="Data files describing media player capabilities, for post-HAL systems"
+arch=('any')
+license=('BSD')
+url="http://cgit.freedesktop.org/media-player-info/"
+depends=('systemd')
+makedepends=('python' git)
+_commit=1ad540c1781c4c840f74344f67340a74bd458f49  # tags/23^0
+source=("git+https://anongit.freedesktop.org/git/media-player-info#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+build() {
+  cd $pkgname
+
+  ./configure --prefix=/usr \
+      --with-udevdir=/usr/lib/udev
+  LANG="en_US.UTF-8" make
+}
+
+package() {
+  cd "$pkgname"
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir/usr/share/licenses/$pkgname"
+  install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
+}

Deleted: media-player-info.install
===================================================================
--- media-player-info.install	2018-02-14 11:08:51 UTC (rev 317002)
+++ media-player-info.install	2018-02-14 11:08:56 UTC (rev 317003)
@@ -1,14 +0,0 @@
-post_install ()
-{
-	udevadm hwdb --update
-}
-
-post_upgrade ()
-{
-	post_install
-}
-
-post_remove ()
-{
-	post_install
-}



More information about the arch-commits mailing list