summaryrefslogtreecommitdiff
path: root/pcr/flpsed/PKGBUILD
blob: 8dda1e652ca33242036dd4221c3216046f2d9c7e (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
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Manteiner (AUR): Pekman <pekman@openmailbox.org>
# Contributor (AUR): Ivy Foster <joyfulgirl (at) archlinux.us>
# Contributor (AUR): Giorgio Lando <patroclo7@gmail.com>

pkgname=flpsed
pkgver=0.7.3
pkgrel=1
pkgdesc="A WYSIWYG PostScript annotator"
url="http://flpsed.org/flpsed.html"
license=(GPL) # unspecified version; COPYING is v3
depends=('ghostscript' 'fltk')
arch=('i686' 'x86_64')
source=(http://flpsed.org/${pkgname}-${pkgver}.tar.gz)
sha256sums=('b70bb751bd70af9893ae2369f0789fd79729d0d6d1fee6e0522c4e6f55c7cf6e')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 flpsed.desktop "$pkgdir"/usr/share/applications/flpsed.desktop
  install -Dm644 flpsed.png     "$pkgdir"/usr/share/pixmaps/flpsed.png
  install -Dm644 flpsed.svg     "$pkgdir"/usr/share/pixmaps/flpsed.svg
}

# End of file