summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD51
2 files changed, 22 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bf7aa62a624..6aefc045934 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Jan 13 23:13:23 UTC 2016
+# Fri Jan 15 01:54:54 UTC 2016
pkgbase = vhs
pkgdesc = Video Handler Script (VHS) aka ffmpeg-tui
pkgver = 2.7.6
@@ -7,6 +7,7 @@ pkgbase = vhs
url = https://github.com/sri-arjuna/vhs
arch = any
license = GPL3
+ depends = tui
depends = ffmpeg
provides = vhs
source = https://github.com/sri-arjuna/vhs/archive/master.zip
diff --git a/PKGBUILD b/PKGBUILD
index 0f94fd7a0e0..212de15e2a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,24 @@
# Maintainer: Simon Arjuna Erat (sea), erat.simon@gmail.com
# Contributor: Simon Arjuna Erat (sea), erat.simon@gmail.com
-#
-# Variables
-#
- # Prj info
- _hkgname=vhs-master
- pkgname=vhs
- pkgdesc="Video Handler Script (VHS) aka ffmpeg-tui"
- license=('GPL3')
- groups=()
-
- # Pkg info
- arch=('any')
- pkgver=2.7.6
- pkgrel=0
-
- # Src info -- As the master branch is used for releases, this is considered 'stable'.
- url="https://github.com/sri-arjuna/vhs"
- source=(https://github.com/sri-arjuna/vhs/archive/master.zip)
+pkgname=vhs
+pkgdesc="Video Handler Script (VHS) aka ffmpeg-tui"
+license=('GPL3')
+groups=()
+
+arch=('any')
+pkgver=2.7.6
+pkgrel=0
+
+url="https://github.com/sri-arjuna/vhs"
+source=("https://github.com/sri-arjuna/vhs/archive/master.zip")
md5sums=('17563c056fb4176f72a03c5e17ce5db0')
-
- # Bld info
- provides=('vhs')
- depends=( 'ffmpeg' )
- # Is there a way to install 'ffmpeg-full' and 'tui' from AUR?
-#
-# Functions
-#
- package() {
- cd ${srcdir}/${_hkgname}
- ./configure --prefix=/usr --chroot=$pkgdir
- ./make-install
- }
+
+provides=('vhs')
+depends=( 'tui' 'ffmpeg' )
+
+package() {
+ cd "${srcdir}/${pkgname}-master"
+ ./configure --prefix=/usr --chroot="$pkgdir"
+ ./make-install
+}