summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author183amir2015-04-06 18:26:13 +0900
committer183amir2015-04-06 18:26:13 +0900
commitf24fb6f78ac6ab9223d2965950bd5327b54c61b5 (patch)
tree342045bde18296a7dffec6fec0b11f561dbf2733
downloadaur-f24fb6f78ac6ab9223d2965950bd5327b54c61b5.tar.gz
bumped versions
-rw-r--r--.SRCINFO25
-rw-r--r--.gitignore0
-rwxr-xr-xPKGBUILD28
-rwxr-xr-xPKGBUILD.debian28
-rwxr-xr-xPKGBUILD_temp28
-rwxr-xr-xgahshomar.install13
6 files changed, 122 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..13367b85cd7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = gahshomar
+ pkgdesc = A Persian (Jalali/Farsi) calendar
+ pkgver = 4.3.2
+ pkgrel = 1
+ url = https://gahshomar.github.io/gahshomar/
+ install = gahshomar.install
+ arch = any
+ license = GPL3
+ makedepends = intltool
+ makedepends = yelp-tools
+ depends = python-gobject
+ depends = jcal-git
+ depends = libpeas
+ depends = gtk3
+ depends = gsettings-desktop-schemas
+ depends = yelp
+ optdepends = libappindicator-gtk3: for the app indicator plugin
+ optdepends = gnome-shell: for the gnome-shell extension
+ conflicts = persian-calendar
+ replaces = persian-calendar
+ source = gahshomar-4.3.2.tar.gz::https://github.com/Gahshomar/gahshomar/archive/v4.3.2.tar.gz
+ md5sums = 26c427ccf05508b906eb5bdf417f350f
+
+pkgname = gahshomar
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/.gitignore
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..7984d79c5af
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Amir Mohammadi <183.amir@gmail.com>
+pkgname=gahshomar
+pkgver=4.3.2
+pkgrel=1
+pkgdesc="A Persian (Jalali/Farsi) calendar"
+arch=('any')
+url="https://gahshomar.github.io/gahshomar/"
+license=('GPL3')
+replaces=('persian-calendar')
+conflicts=('persian-calendar')
+depends=('python-gobject' 'jcal-git' 'libpeas' 'gtk3' 'gsettings-desktop-schemas' 'yelp')
+makedepends=('intltool' 'yelp-tools') # 'gobject-introspection'
+optdepends=('libappindicator-gtk3: for the app indicator plugin'
+ 'gnome-shell: for the gnome-shell extension')
+install=gahshomar.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/Gahshomar/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('26c427ccf05508b906eb5bdf417f350f')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./autogen.sh --prefix=/usr --disable-schemas-compile
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/PKGBUILD.debian b/PKGBUILD.debian
new file mode 100755
index 00000000000..22c18d4cd59
--- /dev/null
+++ b/PKGBUILD.debian
@@ -0,0 +1,28 @@
+# Maintainer: Amir Mohammadi <183.amir@gmail.com>
+pkgname=persian-calendar
+pkgver=3.2.3
+pkgrel=1
+pkgdesc="A Persian (Jalali/Farsi) calendar appindicator"
+arch=('any')
+url="http://183amir.github.io/persian-calendar/"
+license=('GPLv2')
+depends=('python3' 'libappindicator3-1')
+source=($pkgname-$pkgver.tar.gz::https://github.com/183amir/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('1fd9d83b2aac73880e34e73bdffd739c')
+
+package() {
+ mkdir -p "$pkgdir/opt/persian-calendar"
+ chmod 775 "$pkgdir/opt/persian-calendar"
+ cp -r $srcdir/$pkgname-$pkgver/* "$pkgdir/opt/persian-calendar"
+
+ install -Dm644 "$srcdir/$pkgname-$pkgver"/data/persian-calendar.desktop "$pkgdir"/usr/share/applications/persian-calendar.desktop
+ install -Dm644 "$srcdir/$pkgname-$pkgver"/data/icons/days/persian-calendar-dark-theme-8.png "$pkgdir"/usr/share/pixmaps/persian-calendar.png
+ install -Dm644 "$srcdir/$pkgname-$pkgver"/LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+ install -Dm644 "$srcdir/$pkgname-$pkgver"/data/icons/days/* "$pkgdir"/usr/share/pixmaps/
+
+ # remove unnecessary files
+ rm -r "$pkgdir"/opt/persian-calendar/data/icons/days
+ rm "$pkgdir"/opt/persian-calendar/data/icon_generator.py
+ rm "$pkgdir"/opt/persian-calendar/data/persian-calendar.desktop
+ rm "$pkgdir"/opt/persian-calendar/data/Screenshot.png
+} \ No newline at end of file
diff --git a/PKGBUILD_temp b/PKGBUILD_temp
new file mode 100755
index 00000000000..d34a7bddec1
--- /dev/null
+++ b/PKGBUILD_temp
@@ -0,0 +1,28 @@
+# Maintainer: Amir Mohammadi <183.amir@gmail.com>
+pkgname=gahshomar
+pkgver=4.3.2
+pkgrel=1
+pkgdesc="A Persian (Jalali/Farsi) calendar"
+arch=('any')
+url="https://gahshomar.github.io/gahshomar/"
+license=('GPL3')
+replaces=('persian-calendar')
+conflicts=('persian-calendar')
+depends=('python-gobject' 'jcal-git' 'libpeas' 'gtk3' 'gsettings-desktop-schemas')
+makedepends=('intltool' 'yelp-tools') # 'gobject-introspection'
+optdepends=('libappindicator-gtk3: for the app indicator plugin'
+ 'gnome-shell: for the gnome-shell extension')
+install=gahshomar.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/Gahshomar/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('8430b9aa32e9832b060124034c2b2600')
+
+build() {
+ cd $srcdir
+ ./autogen.sh --prefix=/usr --disable-schemas-compile
+ make
+}
+
+package() {
+ cd $srcdir
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/gahshomar.install b/gahshomar.install
new file mode 100755
index 00000000000..b0029f9bb4d
--- /dev/null
+++ b/gahshomar.install
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ gtk-update-icon-cache -q -t -f usr/share/icons/HighContrast
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}