summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdriĆ  Arrufat2018-03-07 15:55:22 +0100
committerAdriĆ  Arrufat2018-03-07 15:55:22 +0100
commitc09b1efdc4bafcb48eaea60151e453eb0416b981 (patch)
treeb02c398c7ed8b50124efe37f433558967969eabe
parent8644e4342a970c0fd4306e79cbbf406badfd4926 (diff)
downloadaur-c09b1efdc4bafcb48eaea60151e453eb0416b981.tar.gz
update to v0.7.0 and build from source
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD36
2 files changed, 22 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da5f67a61fb..77ffa39a1c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = pyuv
pkgdesc = A raw video sequence player
- pkgver = 0.5
+ pkgver = 0.7.0
pkgrel = 1
- url = http://dsplab.diei.unipg.it/pyuv_raw_video_sequence_player_original_one
+ url = https://github.com/gbaruffa/pyuv-player
arch = i686
arch = x86_64
- license = unknown
+ license = GPL
depends = wxgtk
- source = http://dsplab.diei.unipg.it/~baruffa/dvbt/binaries/player/lin32/pyuv_0.5-1_i386.deb
- md5sums = 0e79185d6de4bfeb8c3ab56a26459cd6
+ source = https://github.com/gbaruffa/pyuv-player/archive/v0.7.0.tar.gz
+ md5sums = d0d32e9c8b9b32e57b3264a0b1ad0f6b
pkgname = pyuv
diff --git a/PKGBUILD b/PKGBUILD
index 3372f2cebda..3253cc35738 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,27 @@
# Maintainer: Adria Arrufat (archdria) <swiftscythe@gmail.com>
pkgname=pyuv
-pkgver=0.5
+pkgver=0.7.0
pkgrel=1
pkgdesc="A raw video sequence player"
arch=('i686' 'x86_64')
-url="http://dsplab.diei.unipg.it/pyuv_raw_video_sequence_player_original_one"
-license=('unknown')
+url="https://github.com/gbaruffa/pyuv-player"
+license=('GPL')
depends=('wxgtk')
+source=("https://github.com/gbaruffa/pyuv-player/archive/v${pkgver}.tar.gz")
+md5sums=('d0d32e9c8b9b32e57b3264a0b1ad0f6b')
-if [ "${CARCH}" = 'x86_64' ]; then
- ARCH='amd64'
- md5sums=('5e6a89fab944c36fd689790a24f32477')
- source=(http://dsplab.diei.unipg.it/~baruffa/dvbt/binaries/player/lin64/pyuv_0.5-1_x86_64.deb)
-else
- ARCH='i386'
- md5sums=('0e79185d6de4bfeb8c3ab56a26459cd6')
- source=(http://dsplab.diei.unipg.it/~baruffa/dvbt/binaries/player/lin32/pyuv_0.5-1_i386.deb)
-fi
+build() {
+ cd ${pkgname}-player-${pkgver}
+ aclocal
+ autoconf
+ autoheader
+ automake --add-missing
+ ./configure --prefix=/usr
+ make
+}
package() {
- msg "Extracting..."
- tar -xvf data.tar.gz || return 1
- msg2 "Done extracting!"
- msg "Moving files"
- mv $srcdir/usr $pkgdir
- msg2 "Done moving files"
-
+ cd ${pkgname}-player-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}