summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDany Nativel2015-06-10 18:07:23 +0200
committerDany Nativel2015-06-10 18:07:23 +0200
commitc62fb04c65c334ccf0a4324bee62c55fd21d8559 (patch)
tree4c14dd917ef6c4a99d988e084bd07a48f6862e15
downloadaur-c62fb04c65c334ccf0a4324bee62c55fd21d8559.tar.gz
Initial import to AUR4
-rw-r--r--.SRCINFO25
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD57
-rwxr-xr-xwikidpad-dev3
-rw-r--r--wikidpad-dev.desktop8
-rw-r--r--wikidpad-dev.pngbin0 -> 16166 bytes
6 files changed, 99 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ca8d9365c63
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = wikidpad-dev
+ pkgdesc = wikidPad is a Wiki-like notebook for storing your thoughts, ideas, todo lists, contacts, or anything else you can think of to write down. [Development version]
+ pkgver = 2.3beta12
+ pkgrel = 1
+ url = http://wikidpad.sourceforge.net/
+ arch = any
+ license = custom
+ makedepends = unzip
+ depends = wxpython
+ depends = python2-pysqlite
+ provides = wikidpad
+ conflicts = wikidpad
+ replaces = wikidpad
+ noextract = WikidPad-2.3beta12-src.zip
+ source = http://downloads.sourceforge.net/wikidpad/WikidPad-2.3beta12-src.zip
+ source = wikidpad-dev
+ source = wikidpad-dev.desktop
+ source = wikidpad-dev.png
+ md5sums = 0a29912e96a0bb74ace1b93824e58145
+ md5sums = 37ff74df2af02a091c7b8d8533d5ad2b
+ md5sums = e93014425c38f4a7a023258fde5ac512
+ md5sums = c44e552a8b856610a3e859d1602d5cf1
+
+pkgname = wikidpad-dev
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..264a6124fe9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+pkg/
+src/
+wikidpad-dev/
+*.tar.gz
+*.tar.xz
+*.zip
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f00e6c0f9ed
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,57 @@
+# Contributor: alphazo <alphazo@gmail.com>
+# Original PKGBUILD from reflexing <reflexing@reflexing.ru>
+# Adapted for development version and new Python3 environment
+#
+pkgname=wikidpad-dev
+pkgver=2.3beta12
+pkgrel=1
+pkgdesc="wikidPad is a Wiki-like notebook for storing your thoughts, ideas, todo lists, contacts, or anything else you can think of to write down. [Development version]"
+arch=('any')
+url="http://wikidpad.sourceforge.net/"
+license=('custom')
+depends=('wxpython' 'python2-pysqlite')
+makedepends=('unzip')
+provides=('wikidpad')
+conflicts=('wikidpad')
+replaces=('wikidpad')
+source=(http://downloads.sourceforge.net/wikidpad/WikidPad-$pkgver-src.zip
+ wikidpad-dev
+ wikidpad-dev.desktop
+ wikidpad-dev.png
+)
+
+noextract=(WikidPad-$pkgver-src.zip)
+md5sums=('0a29912e96a0bb74ace1b93824e58145'
+ '37ff74df2af02a091c7b8d8533d5ad2b'
+ 'e93014425c38f4a7a023258fde5ac512'
+ 'c44e552a8b856610a3e859d1602d5cf1')
+
+prepare() {
+ cd "$srcdir"
+
+ # proper extract
+ mkdir $pkgname-$pkgver
+ unzip WikidPad-$pkgver-src.zip -d $pkgname-$pkgver
+
+ # Patch for Python2 compatibility
+ cd $pkgname-$pkgver
+ sed -i -e "s|env python|env python2|" *.py
+ sed -i -e "s|/bin/python|/usr/bin/python2|" *.py
+ cd ..
+}
+
+package() {
+ # dirty copying whole Python sources due to the lack of good 'python setup.py install'
+ # functionality (TODO: setup.py fixes to make it crossplatform)
+ mkdir -p $pkgdir/usr/share/$pkgname
+ cp -r $pkgname-$pkgver/* $pkgdir/usr/share/$pkgname
+
+ # install run wrapper
+ install -Dm755 $srcdir/$pkgname $pkgdir/usr/bin/$pkgname
+
+ # install icons
+ install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
+
+ # install DE menu items
+ install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+} \ No newline at end of file
diff --git a/wikidpad-dev b/wikidpad-dev
new file mode 100755
index 00000000000..f5e3c8b3d41
--- /dev/null
+++ b/wikidpad-dev
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /usr/share/wikidpad-dev
+python2 WikidPad.py $*
diff --git a/wikidpad-dev.desktop b/wikidpad-dev.desktop
new file mode 100644
index 00000000000..cb6d516b62e
--- /dev/null
+++ b/wikidpad-dev.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=wikidPad-dev
+Comment=wikidPad is a Wiki-like notebook for storing your thoughts, ideas, todo lists, contacts, or anything else you can think of to write down. [Development version]
+Exec=wikidpad-dev
+Icon=wikidpad-dev.png
+Terminal=false
+Type=Application
+Categories=Application;Office
diff --git a/wikidpad-dev.png b/wikidpad-dev.png
new file mode 100644
index 00000000000..16e176a1ffe
--- /dev/null
+++ b/wikidpad-dev.png
Binary files differ