diff options
author | vlad | 2016-04-13 00:44:29 +0300 |
---|---|---|
committer | vlad | 2016-04-13 00:44:29 +0300 |
commit | eddc9b9c91f33ba7beaa9a16531eb1822dc6ecf8 (patch) | |
tree | 070d528f45718663831e25e6a649f63be1e5643c | |
parent | c104514f7ea58857ce33cda5b0945af793ebcf2d (diff) | |
download | aur-eddc9b9c91f33ba7beaa9a16531eb1822dc6ecf8.tar.gz |
use gulp
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r--[-rwxr-xr-x] | butter.desktop | 0 |
3 files changed, 19 insertions, 16 deletions
@@ -1,3 +1,5 @@ +# Generated by mksrcinfo v8 +# Tue Apr 12 19:52:55 UTC 2016 pkgbase = butter-git pkgdesc = Stream movies from torrents. Skip the downloads. Launch, click, watch. pkgver = r5479.150b1b9 @@ -10,7 +12,6 @@ pkgbase = butter-git makedepends = bower makedepends = cmake makedepends = git - makedepends = nodejs-grunt-cli makedepends = npm depends = alsa-lib depends = gconf @@ -4,14 +4,23 @@ pkgname=butter-git _pkgname=butter-desktop -pkgver=r5479.150b1b9 +pkgver=r5891.6365715 pkgrel=1 pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." arch=('i686' 'x86_64') url="https://butterproject.github.io/" license=('GPL3') -depends=('alsa-lib' 'gconf' 'gtk2' 'nss' 'ttf-font' 'libxtst') -makedepends=('bower' 'cmake' 'git' 'nodejs-grunt-cli' 'npm') +depends=('alsa-lib' + 'gconf' + 'gtk2' + 'libxtst' + 'nss' + 'ttf-font') +makedepends=('bower' + 'cmake' + 'git' + 'gulp' + 'npm') conflicts=('butter') provides=('butter') options=('!strip') @@ -27,25 +36,20 @@ md5sums=('SKIP' pkgver() { cd "$_pkgname" - + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd "$_pkgname" - - export PYTHON=/usr/bin/python2 - - # Get dependencies npm install } build() { cd "$_pkgname" - - grunt bower_clean - grunt css - grunt nwjs + gulp clean + gulp css + gulp nwjs } package() { @@ -62,9 +66,7 @@ package() { mkdir -p "$pkgdir/usr/bin" ln -s "/usr/lib/butter/Butter" "$pkgdir/usr/bin/butter" - # Desktop file install -Dm644 "butter.desktop" "$pkgdir/usr/share/applications/butter.desktop" - - # Icon install -Dm644 "$_pkgname/src/app/images/icon.png" "$pkgdir/usr/share/pixmaps/butter.png" + install -Dm644 "$_pkgname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/butter.desktop b/butter.desktop index 222a20e3f164..222a20e3f164 100755..100644 --- a/butter.desktop +++ b/butter.desktop |