summaryrefslogtreecommitdiff
path: root/community/swftools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/swftools/PKGBUILD')
-rw-r--r--community/swftools/PKGBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/community/swftools/PKGBUILD b/community/swftools/PKGBUILD
deleted file mode 100644
index 727b3c02d..000000000
--- a/community/swftools/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# $Id: PKGBUILD 94930 2013-08-01 07:01:25Z bpiotrowski $
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: Vinay S Shastry <vinayshastry@gmail.com>
-
-pkgname=swftools
-pkgver=0.9.2
-pkgrel=3
-pkgdesc="A collection of SWF manipulation and creation utilities"
-arch=('i686' 'x86_64')
-url="http://www.swftools.org/"
-license=('GPL')
-depends=('giflib' 'freeglut' 'lame' 't1lib' 'libjpeg' 'fontconfig')
-makedepends=('bison' 'flex' 'zlib' 'patch')
-changelog=$pkgname.changelog
-source=(http://www.swftools.org/$pkgname-$pkgver.tar.gz
- $pkgname-$pkgver.patch
- giflib-5.0.patch)
-sha256sums=('bf6891bfc6bf535a1a99a485478f7896ebacbe3bbf545ba551298080a26f01f1'
- '80f69c86ed06b315f576a733fd1e24145b88aef9934085f3790179a119b7923d'
- 'd163438fe736fb6d1ddbecaa5099a2edac35044c9fc697a8b7167e57f0d513e0')
-
-prepare() {
- cd ${srcdir}/$pkgname-$pkgver
-
- patch -Np1 -i ../giflib-5.0.patch
- sed -i 's#PrintGifError()#fprintf(stderr, "%s\\n", GifErrorString())#g' src/gif2swf.c
-}
-
-build() {
- cd ${srcdir}/$pkgname-$pkgver
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${srcdir}/$pkgname-$pkgver
-
- patch -Np0 -i ${srcdir}/$pkgname-$pkgver.patch
-
- make prefix=${pkgdir}/usr install
-
- cd ${pkgdir}/usr/share/$pkgname/swfs
- rm -f default_loader.swf default_viewer.swf
- ln -s tessel_loader.swf default_loader.swf
- ln -s simple_viewer.swf default_viewer.swf
-}