summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilsson Martee2020-11-03 17:53:38 -0400
committerWilsson Martee2020-11-03 17:53:38 -0400
commitf3fef2dd154bf71d1cda43dac644daa8c4abdd45 (patch)
treef02742749b1c3ce0ffc062a5623f21508e5b0c21
parente9ec987bb563b4ac9255bb518ac9bdc4c63a7ea3 (diff)
downloadaur-f3fef2dd154bf71d1cda43dac644daa8c4abdd45.tar.gz
add make depends
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD17
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b613410380..0cb8aa96cc9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = mps-youtube-git
pkgdesc = Terminal based YouTube jukebox with playlist management - git develop release
- pkgver = 0.2.8.r128.ge083bfa
+ pkgver = 0.2.8.r163.g4c6ee0f
pkgrel = 1
url = https://github.com/mps-youtube/mps-youtube
install = mps-youtube-git.install
arch = any
license = GPL3
+ makedepends = git
depends = python
depends = python-setuptools
depends = python-pafy
diff --git a/PKGBUILD b/PKGBUILD
index 2a1de0d035b..fafdc938551 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,31 @@
+# Maintainer: Wilsson Martee <wilssonm@gmail.com>
+
pkgname=mps-youtube-git
-pkgver=0.2.8.r128.ge083bfa
+_pkgname=mps-youtube
+pkgver=0.2.8.r163.g4c6ee0f
pkgrel=1
-
pkgdesc="Terminal based YouTube jukebox with playlist management - git develop release"
url='https://github.com/mps-youtube/mps-youtube'
arch=('any')
license=('GPL3')
-
depends=('python' 'python-setuptools' 'python-pafy')
+makedepends=('git')
optdepends=('mpv: Alternative to mplayer for playback'
'mplayer: Alternative to mpv for playback'
'ffmpeg: for transcoding downloaded content'
'python-pyperclip: for copying content to the clipboard')
-
provides=('mps-youtube')
conflicts=('mps-youtube')
-
install=mps-youtube-git.install
-source=('git+https://github.com/mps-youtube/mps-youtube.git')
-
+source=("git+${url}.git")
md5sums=('SKIP')
pkgver() {
- cd mps-youtube
+ cd ${_pkgname}
git describe --tags --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
package() {
- cd mps-youtube
+ cd ${_pkgname}
python setup.py install --root="$pkgdir" --optimize=1
}