Compare commits
2 Commits
a5e5cd7667
...
75155331ea
Author | SHA1 | Date | |
---|---|---|---|
75155331ea | |||
df3fd1d5a3 |
40
dist/archlinux/PKGBUILD
vendored
Normal file
40
dist/archlinux/PKGBUILD
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
# $Id$
|
||||
# Maintainer: Markus Koch <markus@notsyncing.net>
|
||||
|
||||
pkgname=mdiary-git
|
||||
pkgver=20180317.126.a5e5cd7
|
||||
pkgrel=1
|
||||
pkgdesc='A viewer for a file based diary with entries written in markdown.'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://git.notsyncing.net:8080/markus/mdiary'
|
||||
license=('GPL')
|
||||
depends=('gtk3' 'glib2' 'webkit2gtk')
|
||||
makedepends=('cmake')
|
||||
source=("$pkgname"::"git+https://notsyncing.net:8080/markus/mdiary.git")
|
||||
sha1sums=('SKIP')
|
||||
|
||||
pkgver () {
|
||||
_date=`date +"%Y%m%d"`
|
||||
cd "${srcdir}/${pkgname}"
|
||||
echo "$_date.$(git rev-list --count master).$(git rev-parse --short master)"
|
||||
}
|
||||
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname"
|
||||
|
||||
cmake .
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
install -D -m644 "$srcdir/$pkgname/dist/mdiary.svg" \
|
||||
"$pkgdir/usr/share/icons/hicolor/scalable/apps/mdiary.svg"
|
||||
install -D -m644 "$srcdir/$pkgname/dist/mdiary.desktop" \
|
||||
"$pkgdir/usr/share/applications/mdiary.desktop"
|
||||
}
|
8
dist/mdiary.desktop
vendored
8
dist/mdiary.desktop
vendored
@ -1,6 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=Mdiary
|
||||
Name=MDiary
|
||||
GenericName=Markdown Diary Viewer
|
||||
Comment=A viewer for a file based diary with entries written in markdown.
|
||||
Icon=mdiary
|
||||
StartupNotify=true
|
||||
Exec=@bindir@/mdiary
|
||||
Exec=mdiary
|
||||
Categories=Office
|
||||
|
Loading…
Reference in New Issue
Block a user