blob: 01eee95bcc7a635dfbb4c2d92884d8a65f1ae265 (
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
|
# Maintainer: Markus Kalb <mk@filmkreis.tu-darmstadt.de>
# Maintainer: Benjamin Radel <aur@radel.tk>
# Contributor: Stefan Karner <stefan.karner@student.tuwien.ac.at>
pkgname=libsub
pkgver=1.6.52
pkgrel=1
pkgdesc="a small C++ library to read and write subtitles in a few different formats (currently STL, SubRip and DCP)"
arch=('i686' 'x86_64')
url="https://carlh.net/libsub"
license=('GPL-2.0-or-later')
depends=('boost-libs>=1.86.0')
makedepends=('python' 'boost>=1.86.0' 'openssl')
provides=('libsub')
conflicts=('libsub')
source=("${pkgname}-${pkgver}::git+git://git.carlh.net/git/${pkgname}.git#tag=v${pkgver}")
sha256sums=('94c9766bf71b119b14cc36ed68a8bd742755e570ec58e32a93e00bc2e720533a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python waf configure --prefix=/usr --disable-tests
python waf build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python waf install --destdir="$pkgdir"
cd "${pkgdir}"
if [ -d usr/lib64 ]
then
mv usr/lib64 usr/lib
fi
}
|