summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50c08f96db05cfb2d1327945a05e42b3078272e3 (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
# Maintainer: Grey Christoforo <first name at last name dat net>

pkgname=f-engrave
pkgver=1.66
pkgrel=1
pkgdesc="Supports Engraving and V-Carving"
url="http://www.scorchworks.com/Fengrave/fengrave.html"
arch=('x86_64')
license=('GPLv3')
makedepends=('dos2unix')
depends=('python')
source=(http://www.scorchworks.com/Fengrave/F-Engrave-${pkgver}_src.zip arch.patch)
md5sums=('63dbde2b6472d66a847438481208457e'
         'f1844c9323b52b92f8e12f922ff50965')

prepare() {
  cd F-Engrave-${pkgver}_src
  patch < ../arch.patch
  dos2unix ${pkgname}-${pkgver/./}.py
}

build() {
  cd F-Engrave-${pkgver}_src/TTF2CXF_STREAM
  make
}

package() {
  cd F-Engrave-${pkgver}_src
  install -Dm755 ${pkgname}-${pkgver/./}.py "$pkgdir/usr/bin/${pkgname}"
  cd TTF2CXF_STREAM
  install -Dm755 ttf2cxf_stream "$pkgdir/usr/bin/ttf2cxf_stream"
}

# vim:set ts=2 sw=2 et: