summaryrefslogtreecommitdiff
path: root/pcr/npapi-vlc-git
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/npapi-vlc-git')
-rw-r--r--pcr/npapi-vlc-git/PKGBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/pcr/npapi-vlc-git/PKGBUILD b/pcr/npapi-vlc-git/PKGBUILD
index c9fb64249..d29c231af 100644
--- a/pcr/npapi-vlc-git/PKGBUILD
+++ b/pcr/npapi-vlc-git/PKGBUILD
@@ -1,40 +1,47 @@
-# Maintainer (Arch): Det
+# Contributor (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.1.3.124.r1330.g7a1aa17
pkgrel=1
pkgdesc="The modern VLC Mozilla plugin"
-arch=('i686' 'x86_64' 'mips64el')
+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)
}
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