summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Landau2015-06-27 17:58:38 +0300
committerDaniel Landau2015-06-27 17:58:38 +0300
commit2ad225ff10aadd6bc12a15393d453125e2867a4b (patch)
treed382807421903ea2aac8d3e2ebcacfecc829ace4
downloadaur-2ad225ff10aadd6bc12a15393d453125e2867a4b.tar.gz
Initial migration from old AUR
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD44
-rw-r--r--lightspark-git.install13
3 files changed, 87 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2ed7fc35183
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = lightspark-git
+ pkgdesc = An open source flash player implementation
+ pkgver = 0.7.2.r118.g2c35822
+ pkgrel = 1
+ url = http://lightspark.sourceforge.net
+ install = lightspark-git.install
+ arch = i686
+ arch = x86_64
+ license = LGPL3
+ makedepends = git
+ makedepends = cmake
+ makedepends = nasm
+ makedepends = llvm
+ makedepends = boost
+ depends = gtk2
+ depends = boost-libs
+ depends = glew
+ depends = libsigc++
+ depends = libxml++
+ depends = ffmpeg
+ depends = curl
+ depends = desktop-file-utils
+ optdepends = gnash-gtk: Gnash fallback support
+ provides = lightspark
+ conflicts = lightspark
+ source = lightspark::git+https://github.com/lightspark/lightspark.git
+ md5sums = SKIP
+
+pkgname = lightspark-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a019b308788
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
+# Contributor: mmm
+# Contributor: bslackr <brendan at vastactive dot com>
+# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+_pkgname=lightspark
+pkgname=$_pkgname-git
+pkgver=0.7.2.r118.g2c35822
+pkgrel=1
+pkgdesc="An open source flash player implementation"
+arch=('i686' 'x86_64')
+url="http://lightspark.sourceforge.net"
+license=('LGPL3')
+depends=('gtk2' 'boost-libs' 'glew' 'libsigc++' 'libxml++' 'ffmpeg' 'curl' 'desktop-file-utils')
+makedepends=('git' 'cmake' 'nasm' 'llvm' 'boost')
+optdepends=('gnash-gtk: Gnash fallback support')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+install=$pkgname.install
+source=("$_pkgname::git+https://github.com/lightspark/lightspark.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ git describe --long --tags | sed -r 's/^lightspark-//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$_pkgname"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCOMPILE_PLUGIN=1 \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
+ -DAUDIO_BACKEND="pulseaudio sdl"
+ make
+}
+
+package() {
+ cd "$_pkgname"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/lightspark-git.install b/lightspark-git.install
new file mode 100644
index 00000000000..27ec2eb20e5
--- /dev/null
+++ b/lightspark-git.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+ gtk-update-icon-cache usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}