summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a6a5a358da7e525bf3d0d8b0e884acd1f4df8cb (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
# Maintainer: <mumei AT airmail DOT cc>
pkgname=gnustep-gui
pkgver=0.30.0
pkgrel=1
pkgdesc="The GNUstep GUI class library"
arch=('x86_64')
url="https://github.com/gnustep/libs-gui"
license=('LGPL')
depends=('gcc-libs' 'libjpeg' 'libtiff')
makedepends=('gcc-objc' 'gnustep-base' 'gnustep-make')
optdepends=('aspell' 'audiofile' 'flite1: required for speech synthesis' 'giflib' 'libcups' 'libsndfile' 'libao')
conflicts=('gnustep-gui-svn')
groups=('gnustep-core')
options=('!makeflags')
source=(https://github.com/gnustep/libs-gui/releases/download/gui-${pkgver//./_}/$pkgname-$pkgver.tar.gz{,.sig})
sha256sums=('469dcaa54ed05b2520a704c30c0761a75b3ade8428e2e64645fb7b38a15c3cc3'
            'SKIP')
validpgpkeys=('83AAE47CE829A4146EF83420CA868D4C99149679')

build() {
  cd "$srcdir"/$pkgname-$pkgver
  . /usr/share/GNUstep/Makefiles/GNUstep.sh
  ./configure --prefix=/usr --sysconfdir=/etc/GNUstep
  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}