37 lines
1.4 KiB
Bash
37 lines
1.4 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=dvdstyler
|
|
pkgver=3.1.2
|
|
pkgrel=1
|
|
pkgdesc="Free and libre authoring application for the creation of professional-looking DVDs"
|
|
arch=('i686' 'x86_64')
|
|
url='https://www.dvdstyler.de/'
|
|
license=('GPL-2')
|
|
depends=('libisoburn' 'dvdauthor' 'dvd+rw-tools' 'wxsvg' 'ffmpeg')
|
|
makedepends=('docbook-xsl' 'xmlto' 'zip' 'gettext-tiny' 'intltool')
|
|
source=("https://downloads.sourceforge.net/$pkgname/DVDStyler-$pkgver.tar.bz2"
|
|
"config.patch"
|
|
"$pkgname.appdata.xml")
|
|
sha512sums=('b4d1639e6a1083901d451362042fc7dfa49d4f9891d1f1204e1dc6ec2ad6ebfe8beb5e428e22cb698cfe6b757c9425ee646d8865cff63c0f60d44e0518cb1970'
|
|
'c1632e14cdb1f4eef7fe7a8e495cbab029bfef813d6695bab810df2b437d0615180451cb8b66730394d3a1f6bc20cddfeebb4cdece45d0fadb5fa0c80f008ddf'
|
|
'6ac128f3816bba4d2c0ba84c93a08bc15c5866c64a57f35a83485f593596c2fd8b5e9d49793f7042fa7c2a076f98e4c7c6c66eb691a21900b82a02c17d739442')
|
|
|
|
prepare() {
|
|
cd DVDStyler-$pkgver
|
|
patch -RNp1 -i ../config.patch
|
|
sed -i 's|/pixmaps|/icons/hicolor/48x48/apps|' data/Makefile.{am,in}
|
|
}
|
|
|
|
build() {
|
|
cd DVDStyler-$pkgver
|
|
./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config-gtk3
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd DVDStyler-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 "$srcdir/$pkgname.appdata.xml" "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
|
|
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
}
|