add SimpleAgenda-git
This commit is contained in:
parent
55e3cfdaae
commit
24c1809f0a
36
simpleagenda-git/PKGBUILD
Normal file
36
simpleagenda-git/PKGBUILD
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
|
||||||
|
pkgname=simpleagenda-git
|
||||||
|
_pkgname=SimpleAgenda
|
||||||
|
pkgver=r923.742e52a
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="SystemPreferences for GNUstep"
|
||||||
|
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() {
|
||||||
|
cd $srcdir
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $srcdir/src
|
||||||
|
. /usr/share/GNUstep/Makefiles/GNUstep.sh
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $srcdir/src
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
|
||||||
|
"$pkgdir/usr/share/applications/$_pkgname.desktop"
|
||||||
|
}
|
11
simpleagenda-git/simpleagenda-git.install
Normal file
11
simpleagenda-git/simpleagenda-git.install
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
post_install() {
|
||||||
|
update-desktop-database -q
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install $1
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install $1
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user