summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 145615acd497f8097d79f6906978661ec0d08d52 (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
# Maintainer : Brian Bidulock <bidulock@openss7.org>
pkgname='zalc'
pkgver=1.2.5
pkgrel=3
pkgdesc='A small, FLTK-based calculator'
arch=('i686' 'x86_64')
url='https://ziggi.org/category/developments/zalc/'
license=('GPL3')
depends=('fltk')
makedepends=('cmake')
provides=('zalc')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ziggi/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('32416f71c1fb24a35730f70d4a875c1ae5ac916305dc43196274dcab75a4f1ab017be09bd3965e5972bc1dbbf145740716d5c83280b24a5b0dc3cc1b85047168')

build () {
	cd ${pkgname}-${pkgver}
	cmake -DCMAKE_INSTALL_PREFIX=/usr
	make
}
package() {
	cd ${pkgname}-${pkgver}
	install -Dm0755 zalc "${pkgdir}/usr/bin/zalc"
	install -Dm0644 zalc.desktop "${pkgdir}/usr/share/applications/zalc.desktop"
	install -Dm0644 zalc.png "${pkgdir}/usr/share/pixmaps/zalc.png"
}