summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68eeead81d07573b67075e7dc2656acfaa6a1009 (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
# Maintainer: Adam Goldsmith <contact@adamgoldsmith.name>
# Based on cura-binary-data by: Grey Christoforo <my first name [at] my last name [dot] net>

pkgname=cura-binary-data-git
_pkgname=cura-binary-data
pkgver=4.5.0
pkgrel=1
pkgdesc="Binary data (firmwares) for cura"
depends=()
makedepends=('git')
url="https://github.com/Ultimaker/${pkgname}"
license=('AGPLv3')
arch=('any')
#options=(!strip docs libtool emptydirs !zipman staticlibs !upx)
source=('git+https://github.com/Ultimaker/cura-binary-data.git')
sha1sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --tags | sed 's/-/./g'
}

package(){
  mkdir -p "${pkgdir}/usr/share/cura/resources/"
  cp -r "${srcdir}/${_pkgname}/cura/resources/firmware" "${pkgdir}/usr/share/cura/resources/"
}