arch-pkgbuilds/gnumail/PKGBUILD

31 lines
868 B
Bash
Raw Normal View History

2016-10-20 00:24:28 +00:00
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
pkgname=gnumail
_pkgname=GNUMail
pkgver=1.2.2
pkgrel=1
pkgdesc="GNUMail"
arch=(i686 x86_64)
url="http://home.gna.org/gnustep-nonfsf/gnumail.html"
license=('GPL')
install=$pkgname.install
depends=(gnustep-base gnustep-gui gnustep-back pantomime addresses)
makedepends=('gcc-objc'
'gnustep-make')
provides=(gnumail)
conflicts=(gnumail)
source=(http://download.gna.org/gnustep-nonfsf/$_pkgname-$pkgver.tar.gz)
md5sums=('c2cc13b7c13d96b83520be5671531ed3')
build() {
2016-10-20 01:35:12 +00:00
cd "$srcdir/$_pkgname-$pkgver"
2016-10-20 00:24:28 +00:00
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make
}
package() {
2016-10-20 01:35:12 +00:00
cd "$srcdir/$_pkgname-$pkgver"
2016-10-20 00:24:28 +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"
}