summaryrefslogtreecommitdiff
path: root/pcr/npapi-vlc-git/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
commitfcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch)
tree60bf5147d7608e6217b37e6807c386b3a43a2b36 /pcr/npapi-vlc-git/PKGBUILD
parent19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff)
parentb0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff)
downloadabslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.gz
abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.bz2
abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.zip
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/npapi-vlc-git/PKGBUILD')
-rw-r--r--pcr/npapi-vlc-git/PKGBUILD28
1 files changed, 21 insertions, 7 deletions
diff --git a/pcr/npapi-vlc-git/PKGBUILD b/pcr/npapi-vlc-git/PKGBUILD
index c9fb64249..bfba5a1e2 100644
--- a/pcr/npapi-vlc-git/PKGBUILD
+++ b/pcr/npapi-vlc-git/PKGBUILD
@@ -1,40 +1,54 @@
-# Maintainer (Arch): Det
+# Maintainer (Arch): Det <nimetonmaili g-mail>
# Contributor (Arch): Pimper (M0Rf30)
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_pkgname=npapi-vlc
pkgname=$_pkgname-git
-pkgver=0.2.213.gc992dba
+pkgver=2.2.1.95.r1444.gd5accd8
pkgrel=1
-pkgdesc="The modern VLC Mozilla plugin"
-arch=('i686' 'x86_64' 'mips64el')
+pkgdesc="The modern VLC Mozilla (NPAPI) plugin"
+arch=('i686' 'x86_64')
url="http://git.videolan.org/?p=$_pkgname.git;a=summary"
license=('LGPL-2.1')
-options=('!libtool')
depends=('vlc')
-makedepends=('git' 'npapi-sdk')
+makedepends=('git' 'gtk2' 'npapi-sdk')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
+options=('!libtool')
source=("git://git.videolan.org/$_pkgname.git")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
- git describe --always | sed 's/-/./g'
+
+ echo $(git describe | cut -d "-" -f1-2 | tr - .).r$(git rev-list HEAD --count).$(git describe | cut -d "-" -f3)
+}
+
+prepare() {
+ cd $_pkgname
+
+ msg2 "Updating sources..."
+ git submodule update --init
}
build() {
cd $_pkgname
+
msg2 "Starting autogen.sh..."
sh ./autogen.sh
+
msg2 "Starting configure..."
./configure --prefix=/usr
+
msg2 "Starting make..."
make
}
package() {
cd $_pkgname
+
msg2 "Starting make install..."
make DESTDIR="$pkgdir" install
+
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING"
} \ No newline at end of file