summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e7f8f265ab802e04cfce9b1a13b0eaab247bb9c (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
27
# Contributor: Brian Bidulock <bidulock@openss7.org>
# Contributor: bocke <bocke@mycity.rs>

pkgname=xorg-editres
_pkgname=editres
pkgver=1.0.7
pkgrel=1
pkgdesc="a dynamic resource editor for X Toolkit applications"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxt' 'libxaw')
makedepends=('xorg-util-macros')
source=("http://xorg.freedesktop.org/releases/individual/app/$_pkgname-$pkgver.tar.bz2")
md5sums=('526cf79edc0c5e379aefb21539243f96')

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