diff options
author | Maxime Gauduin | 2015-06-08 11:05:57 +0200 |
---|---|---|
committer | Maxime Gauduin | 2015-06-08 11:06:56 +0200 |
commit | 7e1fe9cabb68a7ef8b9f3d285c23606e6f709d23 (patch) | |
tree | 2e421956880fca59ce7b55f726c327745a1b3d07 /PKGBUILD | |
download | aur-7e1fe9cabb68a7ef8b9f3d285c23606e6f709d23.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..697b227a3d98 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> + +pkgname=aegisub-git +pkgver=3.2.2.r165.ba9f5a7 +pkgrel=1 +pkgdesc='A general-purpose subtitle editor with ASS/SSA support' +arch=('i686' 'x86_64') +url='http://www.aegisub.org' +license=('GPL' 'BSD') +depends=('boost-libs' 'desktop-file-utils' 'ffms2' 'fftw' 'hunspell' 'wxgtk') +makedepends=('boost' 'git' 'intltool' 'mesa') +optdepends=('libpulse: Pulseaudio backend' + 'openal: OpenAL backend' + 'oss: OSS backend' + 'portaudio: Portaudio backend') +provides=('aegisub') +conflicts=('aegisub') +install='aegisub.install' +source=('aegisub::git+https://github.com/Aegisub/Aegisub.git' + 'git+https://github.com/Aegisub/assdraw.git') +sha256sums=('SKIP' + 'SKIP') + +pkgver() { + cd aegisub + + tag='v3.2.2' + + echo "${tag#v}.r$(git rev-list --count ${tag}..HEAD).$(git rev-parse --short HEAD)" +} + +prepare() { + cd aegisub + + sed 's/$(LIBS_BOOST) $(LIBS_ICU)/$(LIBS_BOOST) $(LIBS_ICU) -pthread/' -i tools/Makefile + ./autogen.sh +} + +build () { + cd aegisub + + ./configure \ + --prefix='/usr' + make +} + +package() { + cd aegisub + + make DESTDIR="${pkgdir}" install + + install -dm 755 "${pkgdir}"/usr/share/licenses/aegisub-git + install -m 644 LICENCE "${pkgdir}"/usr/share/licenses/aegisub-git/ +} + +# vim: ts=2 sw=2 et: |