summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2645db047386cd147a0cc4a8bcaef2489941841d (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
# $Id$
# Maintainer: Benjamin Robin <dev@benjarobin.fr>
# Contributor: Otto VonStein <otto>

pkgname=pencil2d-git
_gitname=pencil2d
pkgver=2443.1d67de07
pkgrel=2
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')
options=('!staticlibs')
install=pencil2d.install
source=('pencil2d::git+https://github.com/pencil2d/pencil.git')
md5sums=('SKIP')

pkgver()
{
    cd "${_gitname}"
    echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build()
{
    cd "${_gitname}"
    msg "Starting qmake..."
    qmake PREFIX=/usr
    msg "Starting make..."
    make
}

package()
{
    cd "${_gitname}"
    make install INSTALL_ROOT="${pkgdir}"
}