blob: b9e84469a2eef22240411a67c34925a67f82e082 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=aegisub-git
pkgver=3.2.2.r303.3594ade71
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=('alsa-lib' 'boost-libs' 'desktop-file-utils' 'fftw' 'fontconfig'
'gcc-libs' 'glibc' 'hunspell' 'icu' 'libgl' 'wxgtk' 'zlib'
'libass.so' 'libffms2.so')
makedepends=('boost' 'git' 'intltool' 'lua' 'mesa')
optdepends=('libpulse: Pulseaudio backend'
'openal: OpenAL backend'
'oss: OSS backend'
'portaudio: Portaudio backend')
provides=('aegisub')
conflicts=('aegisub')
source=('aegisub::git+https://github.com/Aegisub/Aegisub.git'
'git+https://github.com/Aegisub/assdraw.git'
'aegisub-icu59.1.patch::https://github.com/alucryd/Aegisub/commit/d8c69f57f7fbcea47e61381a14987856eefb5fbd.patch')
sha256sums=('SKIP'
'SKIP'
'1e54d36f6be86d45f13b43f9823786ed7274bb2ff7e71cc0d9270de082757df3')
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
patch -Np1 -i ../aegisub-icu59.1.patch
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:
|