mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
monochrome-tray-icons: final commits; everpad: add (and all of its dependencies, the python2-httplib2 PKGBUILD was broken, so I had to fix it)
This commit is contained in:
parent
a0248d433d
commit
79bbcb5090
34
everpad/PKGBUILD
Normal file
34
everpad/PKGBUILD
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Chakra: Ernesto Manríquez <alejandronova@gmail.com>
|
||||||
|
|
||||||
|
pkgname=everpad
|
||||||
|
pkgver=2.5.4
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="An Evernote client"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://github.com/nvbn/everpad"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('pyside' 'python2-magic' 'python2-oauth2' 'python2-sqlalchemy' 'python2-beautifulsoup' 'qtwebkit' 'python2-html2text' 'shiboken' 'dbus-python' 'python-pysqlite' 'python2-keyring' 'python2-regex' 'py-oauth2')
|
||||||
|
makedepends=('python2-distribute')
|
||||||
|
install=everpad.install
|
||||||
|
source=("https://github.com/nvbn/$pkgname/archive/$pkgver.zip")
|
||||||
|
sha256sums=('eefb58ba7ebc4015af2a05d4f503c8a23f5700a02defb930c4e012864eab44ba')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
python2 setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
python2 setup.py install --root=$pkgdir
|
||||||
|
|
||||||
|
mkdir -p $pkgdir/usr/share/licenses/$pkgname
|
||||||
|
cp docs/license.txt $pkgdir/usr/share/licenses/$pkgname/
|
||||||
|
|
||||||
|
mkdir -p $pkgdir/usr/lib/python2.7/site-packages/share/everpad/
|
||||||
|
cp everpad/pad/editor/editor.html $pkgdir/usr/lib/python2.7/site-packages/share/everpad/
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
14
everpad/everpad.install
Normal file
14
everpad/everpad.install
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
post_install() {
|
||||||
|
update-desktop-database -q
|
||||||
|
gtk-update-icon-cache
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Ernesto ManrÃquez <alejandronova@gmail.com>
|
# Maintainer: Ernesto Manriquez <alejandronova@gmail.com>
|
||||||
pkgname=monochrome-tray-icons
|
pkgname=monochrome-tray-icons
|
||||||
pkgver=0.9
|
pkgver=0.9
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Extra monochrome system tray icons for KDE"
|
pkgdesc="Extra monochrome system tray icons for KDE"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="http://kde-look.org/content/show.php/Extra+Monochrome+Tray+Icons?content=148931"
|
url="http://kde-look.org/content/show.php/Extra+Monochrome+Tray+Icons?content=148931"
|
||||||
@ -12,7 +12,7 @@ md5sums=('b077433cd62d20d72899ebe0deb7ec04')
|
|||||||
package() {
|
package() {
|
||||||
cd ${srcdir}
|
cd ${srcdir}
|
||||||
install -dv ${pkgdir}/usr/share/apps/desktoptheme/default/icons/
|
install -dv ${pkgdir}/usr/share/apps/desktoptheme/default/icons/
|
||||||
rm ${srcdir}/network.svgz ${srcdir}/notification.svgz
|
rm ${srcdir}/network.svgz ${srcdir}/notification.svgz ${srcdir}/audio.svgz ${srcdir}/battery.svgz ${srcdir}/kpackagekit.svgz ${srcdir}/wallet.svgz
|
||||||
install --mode=644 ${srcdir}/*.svgz --target-directory=${pkgdir}/usr/share/apps/desktoptheme/default/icons/
|
install --mode=644 ${srcdir}/*.svgz --target-directory=${pkgdir}/usr/share/apps/desktoptheme/default/icons/
|
||||||
install --mode=644 ${srcdir}/*.png --target-directory=${pkgdir}/usr/share/apps/desktoptheme/default/icons/
|
install --mode=644 ${srcdir}/*.png --target-directory=${pkgdir}/usr/share/apps/desktoptheme/default/icons/
|
||||||
install --mode=644 ${srcdir}/*.gif --target-directory=${pkgdir}/usr/share/apps/desktoptheme/default/icons/
|
install --mode=644 ${srcdir}/*.gif --target-directory=${pkgdir}/usr/share/apps/desktoptheme/default/icons/
|
||||||
|
32
py-oauth2/PKGBUILD
Normal file
32
py-oauth2/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Maintainer: Ernesto Manríquez <alejandronova@gmail.com>
|
||||||
|
|
||||||
|
pkgname=py-oauth2
|
||||||
|
pkgver=0.0.6
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A Python wrapper for the OAuth2 specification"
|
||||||
|
arch=('x86_64')
|
||||||
|
url=("http://liluo.org/py-oauth2/")
|
||||||
|
license=('MIT')
|
||||||
|
depends=('python2-magic' 'python2-oauth2' 'python2-sqlalchemy' 'python2-beautifulsoup')
|
||||||
|
makedepends=('python2-distribute')
|
||||||
|
source=("https://github.com/liluo/$pkgname/archive/v$pkgver.zip")
|
||||||
|
sha256sums=('3dddabec379c2d0f7ceac6f04297b03590befa4561c659512fbfa59dc2bf896a')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
python2 setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
python2 setup.py install --root=$pkgdir
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
27
python2-html2text/PKGBUILD
Normal file
27
python2-html2text/PKGBUILD
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
|
||||||
|
# Contributor: Dag Odenhall <dag.odenhall@gmail.com>
|
||||||
|
# Contributor: quantax -- contact via Arch Linux forum or AUR
|
||||||
|
|
||||||
|
pkgname=python2-html2text
|
||||||
|
pkgver=3.200.3
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="Converts a page of HTML into clean, easy-to-read plain ASCII text."
|
||||||
|
arch=('any')
|
||||||
|
url="http://www.aaronsw.com/2002/html2text"
|
||||||
|
license=('GPL3')
|
||||||
|
depends=('python2')
|
||||||
|
makedepends=('python-distribute')
|
||||||
|
source=("http://pypi.python.org/packages/source/h/html2text/html2text-$pkgver.tar.gz")
|
||||||
|
md5sums=('98162c467ddafc1a63bff8db98f03d14')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/html2text-$pkgver"
|
||||||
|
python2 setup.py install --root="$pkgdir" --optimize=1
|
||||||
|
find "$pkgdir" -name '*.py' -print0 |xargs -0 \
|
||||||
|
sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
|
||||||
|
-e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'
|
||||||
|
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||||
|
install -m755 "$pkgdir/usr/bin/html2text" "$pkgdir/usr/bin/html2text_py"
|
||||||
|
rm "$pkgdir/usr/bin/html2text"
|
||||||
|
}
|
||||||
|
|
20
python2-httplib2/PKGBUILD
Normal file
20
python2-httplib2/PKGBUILD
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Maintainer: Simone Gaiarin <simgunz@gmail.com>
|
||||||
|
|
||||||
|
pkgname=python2-httplib2
|
||||||
|
_pkgname=httplib2
|
||||||
|
pkgver=0.8
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A comprehensive HTTP client library"
|
||||||
|
arch=('any')
|
||||||
|
url="http://code.google.com/p/httplib2"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('python2')
|
||||||
|
replaces=('python-httplib2')
|
||||||
|
source=("http://$_pkgname.googlecode.com/files/$_pkgname-$pkgver.tar.gz")
|
||||||
|
md5sums=('a143657998f6752be998e2ec740e7dec')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$_pkgname-$pkgver"
|
||||||
|
python2 setup.py install --prefix=/usr -O2 --root="$pkgdir"
|
||||||
|
chmod 644 $pkgdir/usr/lib/python2.7/site-packages/httplib2/*
|
||||||
|
}
|
30
python2-magic/PKGBUILD
Normal file
30
python2-magic/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Maintainer: george <rpubaddr0 {at} gmail [dot] com>
|
||||||
|
|
||||||
|
pkgname=python2-magic
|
||||||
|
pkgver=5.14
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Python bindings to allow you to access the libmagic api.'
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url='http://darwinsys.com/file/'
|
||||||
|
license=('custom')
|
||||||
|
depends=('file' 'python2')
|
||||||
|
conflicts=('python-magic')
|
||||||
|
replaces=('python-magic')
|
||||||
|
provides=('python-magic')
|
||||||
|
install=$pkgname.install
|
||||||
|
source=("ftp://ftp.astron.com/pub/file/file-${pkgver}.tar.gz")
|
||||||
|
md5sums=('c26625f1d6773ad4bc5a87c0e315632c')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "file-${pkgver}/python"
|
||||||
|
sed -i 's@/usr/bin/python@/usr/bin/python2@' ../magic/Magdir/python
|
||||||
|
python2 setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "file-${pkgver}/python"
|
||||||
|
mkdir -p "${pkgdir}/usr/lib/python2.7/lib-dynload"
|
||||||
|
cp build/lib/magic.py "${pkgdir}/usr/lib/python2.7/lib-dynload/"
|
||||||
|
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
install -Dm644 "${srcdir}/file-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||||
|
}
|
9
python2-magic/python2-magic.install
Normal file
9
python2-magic/python2-magic.install
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
post_install() {
|
||||||
|
echo "Please note that there is another version of python-magic, incompatible"
|
||||||
|
echo "with this one, available at http://pypi.python.org/pypi/python-magic/"
|
||||||
|
echo "Make sure this is the version you want."
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
20
python2-oauth2/PKGBUILD
Normal file
20
python2-oauth2/PKGBUILD
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
||||||
|
|
||||||
|
pkgname=python2-oauth2
|
||||||
|
pkgver=1.5.211
|
||||||
|
pkgrel=1
|
||||||
|
_libname=${pkgname/python2-/}
|
||||||
|
pkgdesc="A fully tested, abstract interface to creating OAuth clients and servers"
|
||||||
|
arch=(any)
|
||||||
|
url="https://github.com/simplegeo/python-oauth2"
|
||||||
|
license=('GPL')
|
||||||
|
depends=(python2-httplib2)
|
||||||
|
makedepends=(python2-distribute)
|
||||||
|
source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
|
||||||
|
md5sums=(987ad7365a70e2286bd1cebb344debbc)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$_libname-$pkgver"
|
||||||
|
python2 setup.py install --root=$pkgdir
|
||||||
|
rm -rf "$pkgdir"/usr/lib/python*/site-packages/tests
|
||||||
|
}
|
26
python2-regex/PKGBUILD
Normal file
26
python2-regex/PKGBUILD
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Contributor: Spyros Stathopoulos <foucault.online@gmail.com>
|
||||||
|
pkgname=python2-regex
|
||||||
|
pkgver=0.1.20120506
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Alternative regular expression module, to replace re."
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://code.google.com/p/mrab-regex-hg/"
|
||||||
|
license=('custom')
|
||||||
|
depends=('python2')
|
||||||
|
makedepends=('python2-distribute')
|
||||||
|
conflicts=('python2-regex-hg')
|
||||||
|
source=("https://launchpad.net/ubuntu/+archive/primary/+files/python-regex_${pkgver}.orig.tar.gz")
|
||||||
|
sha256sums=('f3243f10336cb9625bcd1d06a201854d915287700e4e4668401f4335c8de056f')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/regex-${pkgver}"
|
||||||
|
|
||||||
|
python2 setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/regex-${pkgver}"
|
||||||
|
|
||||||
|
python2 setup.py install --prefix=/usr --root="${pkgdir}"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user