arch-pkgbuilds/simpleagenda-git/PKGBUILD

37 lines
1.0 KiB
Bash
Raw Permalink Normal View History

2016-10-20 00:22:56 +00:00
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
pkgname=simpleagenda-git
_pkgname=SimpleAgenda
pkgver=r923.742e52a
2016-10-20 21:41:08 +00:00
pkgrel=1
2016-10-20 19:40:28 +00:00
pkgdesc="Calendar app for GNUstep"
2016-10-20 00:22:56 +00:00
arch=(i686 x86_64)
url="http://www.gnustep.org/experience/systempreferences.html"
license=('GPL')
install=$pkgname.install
depends=(gnustep-base gnustep-gui gnustep-back libical)
makedepends=('gcc-objc'
'gnustep-make')
optdepends=('addresses: contacts support')
provides=(simpleagenda simpleagendas-git)
conflicts=(simpleagenda simpleagenda-git)
source=('src::git+https://github.com/poroussel/simpleagenda')
md5sums=('SKIP')
pkgver() {
2016-10-20 01:35:12 +00:00
cd "$srcdir"
2016-10-20 00:22:56 +00:00
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
2016-10-20 01:35:12 +00:00
cd "$srcdir/src"
2016-10-20 00:22:56 +00:00
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make
}
package() {
2016-10-20 01:35:12 +00:00
cd "$srcdir/src"
2016-10-20 00:22:56 +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"
}