summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-01 16:12:42 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-01 16:12:42 -0300
commit01ec0b02aa06f666b4b0e89abf9cf5932ef99074 (patch)
treebb3cd7684f486a0382eb4951774350e74754ef44 /pcr
parent60a4d258071a50331200140cf2e91b44fb39c03a (diff)
downloadabslibre-01ec0b02aa06f666b4b0e89abf9cf5932ef99074.tar.gz
abslibre-01ec0b02aa06f666b4b0e89abf9cf5932ef99074.tar.bz2
abslibre-01ec0b02aa06f666b4b0e89abf9cf5932ef99074.zip
lightspark: add new package to [pcr] repo
Diffstat (limited to 'pcr')
-rw-r--r--pcr/lightspark/PKGBUILD33
-rw-r--r--pcr/lightspark/lightspark.install12
2 files changed, 45 insertions, 0 deletions
diff --git a/pcr/lightspark/PKGBUILD b/pcr/lightspark/PKGBUILD
new file mode 100644
index 000000000..bab26aceb
--- /dev/null
+++ b/pcr/lightspark/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+pkgname=lightspark
+pkgver=0.7.2
+pkgrel=1
+pkgdesc='An alternative Flash Player for GNU/Linux.'
+arch=('i686' 'x86_64' 'mips64el')
+url='http://lightspark.sourceforge.net'
+license=('GPL3' 'LGPL3')
+depends=('gtk2' 'ffmpeg' 'glew' 'curl' 'boost-libs' 'libxml++' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('cmake' 'nasm' 'xulrunner' 'llvm' 'glproto' 'boost' 'fontconfig')
+optdepends=('gnash-gtk: fallback support')
+install="$pkgname.install"
+source=(http://launchpad.net/lightspark/trunk/lightspark-$pkgver/+download/lightspark-$pkgver.tar.gz{,.asc})
+md5sums=('f078d505a354fb66dc5b68ad09a2aa81'
+ 'SKIP')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ [ -d bld ] || mkdir bld && cd bld
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DGNASH_EXE_PATH=/usr/bin/gtk-gnash
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/bld"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/lightspark/lightspark.install b/pcr/lightspark/lightspark.install
new file mode 100644
index 000000000..bce670aff
--- /dev/null
+++ b/pcr/lightspark/lightspark.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}