archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xorg-xcalc / trunk / PKGBUILD
blob1daa97c560b29e4e38e40f4363996d5772645d27
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-xcalc
5 pkgver=1.1.2
6 pkgrel=1
7 pkgdesc="Scientific calculator for X"
8 arch=('x86_64')
9 url="https://cgit.freedesktop.org/xorg/app/xcalc/"
10 license=('custom')
11 depends=('libxaw')
12 optdepends=('xorg-fonts-100dpi: for some symbols or'
13            'xorg-fonts-75dpi: for some symbols')
14 makedepends=('xorg-util-macros')
15 source=(https://xorg.freedesktop.org/archive/individual/app/xcalc-${pkgver}.tar.xz{,.sig})
16 sha512sums=('51da677dc88bcd7299ed8d678cb26b048fdb82a1983e1496a06253ee2dceefca4ac87d1a74432b4a76dcc11921a61339bb3d292607be46228164140b430bbad2'
17             'SKIP')
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
20 build() {
21   cd xcalc-${pkgver}
22   ./configure --prefix=/usr
23   make
26 package() {
27   cd xcalc-${pkgver}
28   make DESTDIR="${pkgdir}" install
29   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"