blob: 54062f2c00e481b19086546663c26a550fa88b4f (
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
|
# $Id: PKGBUILD 151172 2012-02-25 06:55:40Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-xcalc
pkgver=1.0.4.1
pkgrel=2
pkgdesc="Scientific calculator for X"
arch=('i686' 'x86_64' 'mips64el')
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
}
package() {
cd "${srcdir}/xcalc-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|