blob: 4b18be05526c02b73e58854a5f3650ea8e8196cd (
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
|
# Maintainer: notfire <luke@notfire.cc>
_maintainer_email="luke@notfire.cc"
pkgname=fadein
pkgver=5.0.11
pkgrel=2
pkgdesc="Professional screenwriting software (DEMO)"
arch=('x86_64')
url="http://www.fadeinpro.com/"
# No license file is provided.
license=('custom')
depends=('gtk3' 'webkit2gtk-4.1' 'libtiff5')
source=("$pkgname-$pkgver.tar.gz::https://www.fadeinpro.com/download/demo/fadein-linux-x64-demo.tar.gz")
sha512sums=('253ab6cdcc6dfe303051703edd1c88a7829bcbd15f5f1d14fbdebd653affcaf6594859d849116cf5b702248d83d101f2fb235f18cc21ebd3665eb1227ccd0ec0')
_vendor_name="fadein-linux-x86_64"
_current_version="$(curl -s 'https://www.fadeinpro.com/page.pl?content=version_notes' | sed -n 's/.*The current version is <b>\([0-9]*\.[0-9]*\.[0-9]*\)<\/b>.*/\1/p')"
if [[ "$_current_version" != "$pkgver" ]] then
echo "ERROR: the fadein package is out of date and may not build properly.
The latest version is ${_current_version}.
Please flag the package as out of date at https://aur.archlinux.org/packages/$pkgname
or e-mail me at $_maintainer_email and I will fix this as soon as possible." 1>&2
fi
package() {
cd "$_vendor_name-$pkgver"
install -d ${pkgdir}/usr/share/
cp -R usr/share/fadein ${pkgdir}/usr/share/
install -Dm644 usr/share/applications/fadein.desktop ${pkgdir}/usr/share/applications/fadein.desktop
install -d ${pkgdir}/usr/bin/
ln -s /usr/share/fadein/fadein ${pkgdir}/usr/bin/fadein
}
# modeline:
# vim: ts=4 sts=4 sw=4 et
|