summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4114153cc655abedd51bf1e6c48da475c8804dc4 (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=xorg-viewres
_pkgname=viewres
pkgdesc="Graphical class/resource browser for Xt"
pkgver=1.0.6
pkgrel=1
arch=('x86_64' 'i686')
url="http://www.x.org/"
license=('custom')
depends=('libxaw')
source=("http://xorg.freedesktop.org/releases/individual/app/$_pkgname-$pkgver.tar.bz2")
md5sums=('38e6568271d8098327706c5cf855dbc7')

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

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}