summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a8c69d1f761c5803b1d75ff9b05ee9cb299ee76 (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
28
29
30
# Contributor: Brian Bidulock <bidulock@openss7.org>
# Contributor: bocke <bocke@mycity.rs>

pkgname=xorg-editres
_pkgname=editres
pkgver=1.0.8
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.gz")

CFLAGS=${CFLAGS/-Werror=format-security/}

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/"
}

md5sums=('cf817d2ad8edad096c274374a0168093')