summaryrefslogtreecommitdiff
path: root/pcr/pencil2d/PKGBUILD
blob: 8d76f59ec1eb940841fe01f7237de3736db86d09 (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
# Maintainer (AUR): Jakob Gahde <j5lx@fmail.co.uk>
# Contributor: Márcio Silva <coadde@hyperbola.info>

# parabola changes and rationale:
#  - added .install file to update desktop database

pkgname=pencil2d
pkgver=0.6.0
pkgrel=1
pkgdesc="An easy, intuitive tool to make 2D hand-drawn animations"
arch=('x86_64' 'i686' 'armv7h')
url="https://pencil2d.org/"
license=('GPL2')
depends=('qt5-multimedia' 'qt5-svg' 'qt5-xmlpatterns' 'hicolor-icon-theme' 'ffmpeg')
install=$pkgname.install
source=("https://github.com/pencil2d/pencil/archive/${pkgver}.tar.gz")
md5sums=('46ec6cb485b45ede9bd6a9728c9fc1a5')

build() {
  cd "${srcdir}/pencil-${pkgver}"

  qmake-qt5 PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/pencil-${pkgver}"

  make install INSTALL_ROOT="${pkgdir}"
  rm -rf "${pkgdir}/usr/lib"
}