blob: 022ed423fdad687e24bbeeb1602fb70719b029d7 (
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
|
# $Id$
# Maintainer: Benjamin Robin <dev@benjarobin.fr>
# Contributor: Otto VonStein <otto>
pkgname=pencil2d-git
_gitname=pencil2d
pkgver=1426.841bbb7
pkgrel=1
pkgdesc="Animation/drawing software, that lets you create traditional hand-drawn animation using both bitmap and vector graphics"
arch=('i686' 'x86_64')
url="http://www.pencil2d.org/"
license=('GPL')
depends=('ming' 'ffmpeg' 'qt5-svg' 'qt5-multimedia')
makedepends=('git' 'qt5-tools')
provides=('pencil2d')
conflicts=('pencil2d')
install=pencil2d.install
source=('pencil2d::git+https://github.com/pencil2d/pencil.git'
'pencil2d.desktop')
md5sums=('SKIP'
'98008076937080db82a939d8129ed2d0')
pkgver()
{
cd "${_gitname}"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
prepare()
{
cd "${_gitname}"
# Translation build is broken
sed -i "/SUBDIRS/s/l10n//" pencil.pro
}
build()
{
cd "${_gitname}"
msg "Starting qmake..."
qmake
msg "Starting make..."
make
}
package()
{
cd "${_gitname}"
install -D -m755 app/Pencil2D "${pkgdir}/usr/bin/pencil2d"
install -D -m644 icons/icon.png "${pkgdir}/usr/share/pixmaps/pencil2d.png"
install -D -m644 "${srcdir}/pencil2d.desktop" "${pkgdir}/usr/share/applications/pencil2d.desktop"
}
|