arch-pkgbuilds/gworkspace/PKGBUILD

33 lines
921 B
Bash
Raw Normal View History

2016-10-19 23:08:11 +00:00
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
pkgname=gworkspace
_pkgname=GWorkspace
pkgver=0.9.4
pkgrel=1
pkgdesc="The GNUstep Workspace"
arch=(i686 x86_64)
url="http://www.gnustep.org/experience/GWorkspace.html"
license=('GPL')
install=$pkgname.install
depends=(gnustep-base gnustep-gui gnustep-back)
makedepends=('gcc-objc'
'gnustep-make')
provides=(gworkspace)
conflicts=(gworkspace)
replaces=(gworkspace.app-svn)
source=(ftp://ftp.gnustep.org/pub/gnustep/usr-apps/$pkgname-$pkgver.tar.gz)
md5sums=('406256f470781bc3be2670611276780f')
build() {
2016-10-20 01:35:12 +00:00
cd "$srcdir/$pkgname-$pkgver"
2016-10-19 23:08:11 +00:00
. /usr/share/GNUstep/Makefiles/GNUstep.sh
./configure
make
}
package() {
2016-10-20 01:35:12 +00:00
cd "$srcdir/$pkgname-$pkgver"
2016-10-19 23:08:11 +00:00
make DESTDIR="$pkgdir/" install
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
"$pkgdir/usr/share/applications/$_pkgname.desktop"
}