Browse code

First commit

Qurban Ullah authored on 27/02/2018 17:48:15
Showing 2 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,43 @@
1
+# $Id$
2
+# Maintainer: Qurban Ullah <qurbanullah@avouch.org>
3
+# Contributor: Qurban Ullah <qurbanullah@avouch.org>
4
+
5
+pkgname=bijiben
6
+pkgver=3.26.2
7
+pkgrel=1
8
+pkgdesc="Write out notes, every detail matters"
9
+arch=(i686 x86_64)
10
+url="https://live.gnome.org/Bijiben"
11
+license=(GPL)
12
+depends=(tracker zeitgeist webkitgtk desktop-file-utils gnome-online-accounts evolution-data-server)
13
+makedepends=(intltool itstool evolution python)
14
+options=(!emptydirs)
15
+groups=(gnome-extra)
16
+install=bijiben.install
17
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
18
+sha256sums=('1fff4eeebe1332a4fad9973132c041f1dbc0e8ab8820e4afff6b42dcc51957f1')
19
+
20
+prepare() {
21
+	cd "${srcdir}/${pkgname}-${pkgver}"
22
+
23
+	sed -i 's/tracker-sparql-1.0/tracker-sparql-2.0/g' configure.ac
24
+	sed -i 's/tracker-sparql-0.18/tracker-sparql-2.0/g' configure.ac
25
+	
26
+	autoreconf -vi
27
+}
28
+
29
+build() {
30
+	cd "${srcdir}/${pkgname}-${pkgver}"
31
+	./configure --prefix=/usr \
32
+	--sysconfdir=/etc \
33
+	--localstatedir=/var \
34
+	--libexecdir=/usr/lib/$pkgname \
35
+	--disable-update-mimedb \
36
+	--enable-compile-warnings
37
+	make
38
+}
39
+
40
+package() {
41
+	cd "${srcdir}/${pkgname}-${pkgver}" 
42
+	make -j1 DESTDIR="${pkgdir}" install
43
+}
0 44
new file mode 100755
... ...
@@ -0,0 +1,14 @@
1
+post_install() {
2
+    glib-compile-schemas /usr/share/glib-2.0/schemas
3
+    update-desktop-database -q
4
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
5
+    update-mime-database /usr/share/mime
6
+}
7
+
8
+post_upgrade() {
9
+    post_install
10
+}
11
+
12
+post_remove() {
13
+    post_install
14
+}