summaryrefslogtreecommitdiff
path: root/pcr/npapi-vlc-git/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-10 18:39:20 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-10 18:39:20 -0300
commit1b5d7d7a179c566b138b6cc0e9ee76e1f683a77c (patch)
tree4e95e126c020785da25d189ec84af64eb42ac05e /pcr/npapi-vlc-git/PKGBUILD
parent4cf9c947c794fe5e5906d3c5350e9aada30b31ae (diff)
npapi-vlc-git: new package to [pcr] repo
Diffstat (limited to 'pcr/npapi-vlc-git/PKGBUILD')
-rw-r--r--pcr/npapi-vlc-git/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/pcr/npapi-vlc-git/PKGBUILD b/pcr/npapi-vlc-git/PKGBUILD
new file mode 100644
index 000000000..59b11bff6
--- /dev/null
+++ b/pcr/npapi-vlc-git/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Det
+# Contributor: Pimper (M0Rf30)
+
+_pkgname=npapi-vlc
+pkgname=$_pkgname-git
+pkgver=0.2.213.gc992dba
+pkgrel=1
+pkgdesc="The modern VLC Mozilla 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')
+provides=("$_pkgname=$pkgver")
+conflicts=("$_pkgname")
+source=("git://git.videolan.org/$_pkgname.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ git describe --always | sed 's/-/./g'
+}
+
+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