[arch-commits] Commit in mpv/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Fri Sep 4 07:21:35 UTC 2015
Date: Friday, September 4, 2015 @ 09:21:35
Author: eworm
Revision: 139193
upgpkg: mpv 1:0.10.0-1
Upstream releases are back!
And I earned a free epoch. :(
Modified:
mpv/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-04 06:53:04 UTC (rev 139192)
+++ PKGBUILD 2015-09-04 07:21:35 UTC (rev 139193)
@@ -4,8 +4,8 @@
# Contributor: Eivind Uggedal <eivind at uggedal.com>
pkgname=mpv
-_commit=f1778d1f
-pkgver=41859.gf1778d1f
+epoch=1
+pkgver=0.10.0
pkgrel=1
pkgdesc='Video player based on MPlayer/mplayer2'
arch=('i686' 'x86_64')
@@ -21,23 +21,17 @@
optdepends=('youtube-dl: for video-sharing websites playback')
options=('!emptydirs' '!buildflags')
install=mpv.install
-source=("git://github.com/mpv-player/mpv.git#commit=${_commit}")
-sha256sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('f9eaec3e4f6094c4d889ab04f86c479a089c389616e1a5522c92fedb2fe7044c')
-pkgver() {
- cd $pkgname
-
- echo "$(git rev-list --count HEAD).g${_commit}"
-}
-
prepare() {
- cd $pkgname
+ cd ${pkgname}-${pkgver}
./bootstrap.py
}
build() {
- cd $pkgname
+ cd ${pkgname}-${pkgver}
./waf configure --prefix=/usr \
--confdir=/etc/mpv \
@@ -49,7 +43,8 @@
}
package() {
- cd $pkgname
+ cd ${pkgname}-${pkgver}
+
./waf install --destdir="$pkgdir"
install -d "$pkgdir"/usr/share/doc/mpv/examples
More information about the arch-commits
mailing list