summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Stubbs2017-02-14 10:54:27 +0000
committerAndrew Stubbs2017-02-14 10:54:27 +0000
commita4ffbee5ef201c8c6d2cba82b5046cddc1b8a754 (patch)
tree83edcddf725560331fdd1cd358826c410d9c02fe
parent3a7e38d480f33dc46a4ff8fa05c3481df25d1c0f (diff)
downloadaur-a4ffbee5ef201c8c6d2cba82b5046cddc1b8a754.tar.gz
1.3
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD33
2 files changed, 33 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e420817d14a..0249a7dad0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,20 @@
# Generated by mksrcinfo v8
-# Thu Feb 2 11:42:28 UTC 2017
+# Tue Feb 14 10:53:46 UTC 2017
pkgbase = nuvola-app-youtube
- pkgdesc = Integration of YouTube into your linux desktop via Nuvola Player.
- pkgver = 1.2
+ pkgdesc = Integration of YouTube into your linux desktop via Nuvola Player 3.0.
+ pkgver = 1.3
pkgrel = 1
url = https://github.com/tiliado/nuvola-app-youtube
arch = any
license = 2-Clause BSD-license
- makedepends = git
+ makedepends = lasem
+ makedepends = scour
+ makedepends = python-virtualenv
depends = nuvolaplayer>=3,
depends = nuvolaplayer<4
options = !emptydirs
- source = nuvola-app-youtube-1.2.tar.gz::https://github.com/tiliado/nuvola-app-youtube/archive/1.2.tar.gz
- md5sums = f08dbeed43f3f45dce6e709b3411aae8
+ source = nuvola-app-youtube-1.3.tar.gz::https://github.com/tiliado/nuvola-app-youtube/archive/1.3.tar.gz
+ md5sums = efc8d734e9cdb905ef9b275bcb17200e
pkgname = nuvola-app-youtube
diff --git a/PKGBUILD b/PKGBUILD
index 3901136cd34..ef3035ee984 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,43 @@
# Maintainer: Andrew Stubbs <andrew.stubbs at gmail dot com>
pkgname=nuvola-app-youtube
-pkgver=1.2
+pkgver=1.3
pkgrel=1
-pkgdesc="Integration of YouTube into your linux desktop via Nuvola Player."
+pkgdesc="Integration of YouTube into your linux desktop via Nuvola Player 3.0."
arch=('any')
url="https://github.com/tiliado/nuvola-app-youtube"
license=('2-Clause BSD-license')
depends=('nuvolaplayer>=3', 'nuvolaplayer<4')
-makedepends=('git')
+makedepends=('lasem' 'scour' 'python-virtualenv')
options=(!emptydirs)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tiliado/nuvola-app-youtube/archive/${pkgver}.tar.gz")
-md5sums=('f08dbeed43f3f45dce6e709b3411aae8')
+md5sums=('efc8d734e9cdb905ef9b275bcb17200e')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+
+ virtualenv ve
+ source ve/bin/activate
+ pip install nuvolasdk
+
+ # Generate Makefile
+ ./configure --prefix=/usr
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make build
+ cd "${pkgname}-${pkgver}"
+
+ # Optimize SVG icons (scour), generate PNG icons (lasem)
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make install DEST="${pkgdir}/usr/share/nuvolaplayer3/web_apps/"
+ cd "${pkgname}-${pkgver}"
+
+ make install DESTDIR="${pkgdir}"
+
+ # Install all available licenses.
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE*
}
# vim:set ts=4 sw=4 et: