summaryrefslogtreecommitdiff
path: root/extra/xorg-xcalc/PKGBUILD
blob: 8272a796536a0550d1c22d881ab240e726f61241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xcalc
pkgver=1.0.4.1
pkgrel=1
pkgdesc="Scientific calculator for X"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw')
makedepends=('xorg-util-macros')
source=(http://xorg.freedesktop.org/archive/individual/app/xcalc-${pkgver}.tar.bz2)
sha1sums=('2206fc4bf3719c43fa13a6c64a37b40607d8e5e2')

build() {
  cd "${srcdir}/xcalc-${pkgver}"
  ./configure --prefix=/usr
  make
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}