summaryrefslogtreecommitdiff
path: root/community/aegisub/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
commit9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch)
tree06520d9024b40745b94f02d0d3419386e6496863 /community/aegisub/PKGBUILD
parent6cc893589a6bd208f2b7711f985e17df7a6df816 (diff)
parenta86ff663185661ee304bb1f6d00d982102dd706d (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/aegisub/PKGBUILD')
-rwxr-xr-xcommunity/aegisub/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/aegisub/PKGBUILD b/community/aegisub/PKGBUILD
new file mode 100755
index 000000000..6acc2ade7
--- /dev/null
+++ b/community/aegisub/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 85317 2013-03-01 00:32:14Z alucryd $
+# Maintainer: Maxime Gauduin <alucryd@gmail.com>
+# Contributor: kozec <kozec@kozec.com>
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+
+pkgname=aegisub
+pkgver=3.0.2
+pkgrel=6
+pkgdesc="A general-purpose subtitle editor with ASS/SSA support"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://www.aegisub.org"
+license=('GPL' 'BSD')
+depends=('desktop-file-utils' 'ffmpegsource' 'fftw' 'hicolor-icon-theme' 'hunspell' 'lua51' 'wxgtk2.9' 'hicolor-icon-theme')
+makedepends=('mesa')
+install=aegisub.install
+source=("http://ftp.aegisub.org/pub/releases/${pkgname}-${pkgver}.tar.xz" 'crash-on-deatach.patch' 'lua51.patch')
+sha256sums=('68ec20cf49f513608cec400bd462ebb762d6057109968fb01d842e10e6e7fb39'
+ '85e2c2a6bf091f5b4ca29a0149df8d8ca6219d98a4095f79809f2e698983bca4'
+ 'ce67b143cc2949fbbd7d72862c54005030339d1c364753335acec271ca9e179d')
+
+build() {
+ cd "${srcdir}"/${pkgname}/${pkgname}
+
+# Patch
+ patch -Np1 -i "${srcdir}"/crash-on-deatach.patch
+ patch -Np1 -i "${srcdir}"/lua51.patch
+
+# Build
+ autoreconf -ivf
+ ./configure --prefix=/usr --without-{portaudio,openal,oss} --with-wxdir=/usr/include/wx-2.9 --with-wx-config=/usr/bin/wx-config-2.9
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}/${pkgname}
+
+# Install
+ make DESTDIR="$pkgdir" install
+
+# License
+ install -dm 755 "${pkgdir}"/usr/share/licenses/aegisub
+ install -m 644 LICENCE "${pkgdir}"/usr/share/licenses/aegisub/LICENSE
+}
+
+# vim: ts=2 sw=2 et: