summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaramy Black2017-09-25 16:26:43 -0600
committerLaramy Black2017-09-25 16:26:43 -0600
commit9c468a05023c94b551d939a98113377567010f65 (patch)
tree9f0d8273ff97c0473e6acd20f09021775b60e9d4
parenta4ffbee5ef201c8c6d2cba82b5046cddc1b8a754 (diff)
downloadaur-9c468a05023c94b551d939a98113377567010f65.tar.gz
Fix: added support for nuvolaruntime 4.7.0
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD46
2 files changed, 22 insertions, 44 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0249a7dad0d..b9bf36a3acc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,16 @@
-# Generated by mksrcinfo v8
-# Tue Feb 14 10:53:46 UTC 2017
pkgbase = nuvola-app-youtube
- pkgdesc = Integration of YouTube into your linux desktop via Nuvola Player 3.0.
+ pkgdesc = youtube integration for Nuvola Player.
pkgver = 1.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/tiliado/nuvola-app-youtube
arch = any
- license = 2-Clause BSD-license
- makedepends = lasem
+ license = custom:BSD
+ makedepends = nuvolasdk
makedepends = scour
- makedepends = python-virtualenv
- depends = nuvolaplayer>=3,
- depends = nuvolaplayer<4
- options = !emptydirs
- source = nuvola-app-youtube-1.3.tar.gz::https://github.com/tiliado/nuvola-app-youtube/archive/1.3.tar.gz
- md5sums = efc8d734e9cdb905ef9b275bcb17200e
+ depends = nuvolaruntime
+ depends = imagemagick
+ source = https://github.com/tiliado/nuvola-app-youtube/archive/1.3.tar.gz
+ sha256sums = 4b6819e2f888b1b2e45e3dee2401c5dad69015a77b3c9d9b68be1b044f200422
pkgname = nuvola-app-youtube
diff --git a/PKGBUILD b/PKGBUILD
index ef3035ee984..e1d8f589261 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,43 +1,25 @@
# Maintainer: Andrew Stubbs <andrew.stubbs at gmail dot com>
+# CO-Maintainer: Laramy Black <laramy2020@gmail.com>
pkgname=nuvola-app-youtube
pkgver=1.3
-pkgrel=1
-pkgdesc="Integration of YouTube into your linux desktop via Nuvola Player 3.0."
-arch=('any')
+pkgrel=2
+pkgdesc="youtube integration for Nuvola Player."
+arch=("any")
url="https://github.com/tiliado/nuvola-app-youtube"
-license=('2-Clause BSD-license')
-depends=('nuvolaplayer>=3', 'nuvolaplayer<4')
-makedepends=('lasem' 'scour' 'python-virtualenv')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tiliado/nuvola-app-youtube/archive/${pkgver}.tar.gz")
-md5sums=('efc8d734e9cdb905ef9b275bcb17200e')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
-
- virtualenv ve
- source ve/bin/activate
- pip install nuvolasdk
-
- # Generate Makefile
- ./configure --prefix=/usr
-}
+license=('custom:BSD')
+depends=('nuvolaruntime' 'imagemagick')
+makedepends=('nuvolasdk' 'scour')
+source=(https://github.com/tiliado/${pkgname}/archive/${pkgver}.tar.gz)
+sha256sums=('4b6819e2f888b1b2e45e3dee2401c5dad69015a77b3c9d9b68be1b044f200422')
build() {
- cd "${pkgname}-${pkgver}"
-
- # Optimize SVG icons (scour), generate PNG icons (lasem)
- make
+ cd "$srcdir/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make all
}
package() {
- cd "${pkgname}-${pkgver}"
-
- make install DESTDIR="${pkgdir}"
-
- # Install all available licenses.
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE*
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
-
-# vim:set ts=4 sw=4 et: