summaryrefslogtreecommitdiff
path: root/community/aegisub/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-08-20 12:35:17 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-08-20 12:35:17 +0200
commitdd20ac40523cf27f69f10087655ccb3c0f318a9b (patch)
treebfa47cd682339a5732821d9d693ef3cd0d02f898 /community/aegisub/PKGBUILD
parentb17208557669f7d787c139c7f15913be60db7b1b (diff)
parent1ae31a85e191bbf7313077b472a66d1c24af1f74 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/agsync/PKGBUILD community/synce-serial/PKGBUILD community/synce-vdccm/PKGBUILD core/lvm2/PKGBUILD extra/kdepim/PKGBUILD extra/kdeplasma-addons/PKGBUILD extra/sqlite/PKGBUILD
Diffstat (limited to 'community/aegisub/PKGBUILD')
-rwxr-xr-xcommunity/aegisub/PKGBUILD28
1 files changed, 19 insertions, 9 deletions
diff --git a/community/aegisub/PKGBUILD b/community/aegisub/PKGBUILD
index 176e79bbe..43818fe7c 100755
--- a/community/aegisub/PKGBUILD
+++ b/community/aegisub/PKGBUILD
@@ -1,32 +1,42 @@
-# $Id: PKGBUILD 93876 2013-07-11 16:18:40Z alucryd $
+# $Id: PKGBUILD 96068 2013-08-19 20:07:28Z eric $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: kozec <kozec@kozec.com>
# Contributor: Limao Luo <luolimao+AUR@gmail.com>
pkgname=aegisub
pkgver=3.0.4
-pkgrel=1
+pkgrel=2
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')
+depends=('desktop-file-utils' 'ffmpegsource' 'fftw' 'hicolor-icon-theme' 'hunspell' 'lua51' 'wxgtk2.9')
makedepends=('mesa')
install=aegisub.install
-source=("http://ftp.aegisub.org/pub/releases/${pkgname}-${pkgver}.tar.xz")
-sha256sums=('7d5d8b94da02278b3327f24dd546c0c897c4b369bd2da9e094dc60371422019a')
+source=("http://ftp.aegisub.org/pub/releases/${pkgname}-${pkgver}.tar.xz"
+ 'wxgtk2.9.5.patch')
+sha256sums=('7d5d8b94da02278b3327f24dd546c0c897c4b369bd2da9e094dc60371422019a'
+ 'b3dc9f094d23e6f38a7a03dc3692056bd9e09095dab8385d7f2fd7c0e73e19d2')
+
+prepare() {
+ cd ${pkgname}/${pkgname}
+
+ patch -Np2 -i ../../wxgtk2.9.5.patch
+}
build() {
- cd "${srcdir}"/${pkgname}/${pkgname}
+ cd ${pkgname}/${pkgname}
- ACLOCAL=aclocal AUTOMAKE=automake ./autogen.sh --prefix=/usr --without-{portaudio,openal,oss} --with-wxdir=/usr/include/wx-2.9 --with-wx-config=/usr/bin/wx-config-2.9
+ export ACLOCAL=aclocal
+ export AUTOMAKE=automake
+ ./autogen.sh --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}
+ cd ${pkgname}/${pkgname}
- make DESTDIR="$pkgdir" install
+ make DESTDIR="${pkgdir}" install
# License
install -dm 755 "${pkgdir}"/usr/share/licenses/aegisub