summaryrefslogtreecommitdiff
path: root/social
diff options
context:
space:
mode:
Diffstat (limited to 'social')
-rw-r--r--social/bitcoin-daemon/PKGBUILD10
-rw-r--r--social/bitcoin/PKGBUILD62
-rw-r--r--social/bitcoin/bitcoin.desktop10
-rw-r--r--social/python2-cheetah/Changelog6
-rw-r--r--social/python2-cheetah/PKGBUILD33
-rw-r--r--social/uci/PKGBUILD40
6 files changed, 156 insertions, 5 deletions
diff --git a/social/bitcoin-daemon/PKGBUILD b/social/bitcoin-daemon/PKGBUILD
index 29e68d0f3..ddc5ac0ab 100644
--- a/social/bitcoin-daemon/PKGBUILD
+++ b/social/bitcoin-daemon/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=bitcoin-daemon
_pkgname=bitcoin
-pkgver=0.5.1
+pkgver=0.5.2
pkgrel=1
pkgdesc="Bitcoin is a peer-to-peer network based digital currency (daemon with JSON-RPC interface)."
arch=('i686' 'x86_64')
@@ -23,6 +23,9 @@ source=("http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${
s1=$srcdir/${_pkgname}-${pkgver}-linux
src=$s1/src/src
makefile_unix=makefile.unix
+md5sums=('6d40f645ddc042de26d64e83656f38e0'
+ '0375ba4d6c3425eee350dc8b7575403d'
+ '7faa439885f3adbba5847ae75aac5484')
build() {
cd $src
@@ -42,7 +45,7 @@ build() {
package() {
# get compiled binaries
- install -d ${pkgdir}/{var/lib/${pkgname},usr/{share/licenses,bin},etc/rc.d}
+ mkdir -p ${pkgdir}/{var/lib/${pkgname},usr/{share/licenses/${pkgname},bin},etc/rc.d}
install -D -m755 ${src}/bitcoind ${pkgdir}/usr/bin/
@@ -51,6 +54,3 @@ package() {
install -D -m 644 ${s1}/COPYING \
${pkgdir}/usr/share/licenses/${pkgname}/
}
-md5sums=('1edeb3082d41741b8d0e5f850818328f'
- '0375ba4d6c3425eee350dc8b7575403d'
- '7faa439885f3adbba5847ae75aac5484')
diff --git a/social/bitcoin/PKGBUILD b/social/bitcoin/PKGBUILD
new file mode 100644
index 000000000..64810db4b
--- /dev/null
+++ b/social/bitcoin/PKGBUILD
@@ -0,0 +1,62 @@
+## Maintainer : shahid <helllamer@gmail.com>
+## Long PKGBUILD description, todo, wiki:
+## * https://bitbucket.org/helllamer/archlinux-pkgbuild/wiki/pkgbuild/bitcoin
+
+## Wanna take part on development my PKGBUILDs? Feel welcome on my repo:
+## * https://bitbucket.org/helllamer/archlinux-pkgbuild/
+
+name=bitcoin
+pkgname=$name
+pkgver=0.5.2
+pkgrel=1
+pkgdesc="Bitcoin is a peer-to-peer network based digital currency."
+arch=('i686' 'x86_64')
+url="http://www.bitcoin.org/"
+depends=('qt>=4.6' 'libpng>=1.4' 'expat' 'gcc-libs' 'boost-libs>=1.46' 'miniupnpc>=1.6' 'openssl')
+makedepends=('boost' 'gcc' 'make' 'automoc4')
+conflicts=('bitcoin-bin' 'bitcoin-git' 'bitcoin-daemon')
+license=('MIT')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-linux.tar.gz"
+ "${pkgname}.desktop")
+md5sums=('6d40f645ddc042de26d64e83656f38e0'
+ '77139ce8a40f46bd7d7ad0a743672113')
+s1=$srcdir/${pkgname}-${pkgver}-linux
+src_qt=$s1/src
+src_d=$s1/src/src/
+makefile_unix=makefile.unix
+
+build() {
+ cd $src_d
+
+ msg "Patching $makefile_unix..."
+ sed -i $makefile_unix \
+ -e 's/\(-DNOPCH\)/\1 -DBOOST_FILESYSTEM_VERSION=2/' \
+ -e 's/-Bstatic/--as-needed ${LDFLAGS}/g' \
+ -e 's/\(USE_UPNP:=\)0/\11/' \
+ -e 's/$(DEBUGFLAGS)//g' \
+ -e 's/CXXFLAGS/CPPFLAGS/g' \
+ -e 's/-O[0-3]/${CXXFLAGS}/g'
+
+ # make bitcoind
+ make $MAKEFLAGS -f $makefile_unix bitcoind
+
+ # and make qt gui
+ cd $src_qt
+ qmake
+ make $MAKEFLAGS
+}
+
+
+package() {
+ mkdir -p $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/share/pixmaps
+ mkdir -p $pkgdir/usr/share/applications
+
+ # get compiled binaries
+ install -D -m755 $src_qt/bitcoin-qt $pkgdir/usr/bin/
+ install -D -m755 $src_d/bitcoind $pkgdir/usr/bin/
+
+ # add icon and .desktop file to pkg
+ install -D -m644 $src_qt/src/qt/res/icons/bitcoin.png $pkgdir/usr/share/pixmaps/
+ install -D -m644 $srcdir/$name.desktop $pkgdir/usr/share/applications/
+}
diff --git a/social/bitcoin/bitcoin.desktop b/social/bitcoin/bitcoin.desktop
new file mode 100644
index 000000000..f27429060
--- /dev/null
+++ b/social/bitcoin/bitcoin.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Bitcoin
+GenericName=P2P network based digital currency
+Comment=P2P network based digital currency
+Exec=bitcoin-qt
+Icon=/usr/share/pixmaps/bitcoin.png
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Office;Finance;P2P
diff --git a/social/python2-cheetah/Changelog b/social/python2-cheetah/Changelog
new file mode 100644
index 000000000..9acc7834a
--- /dev/null
+++ b/social/python2-cheetah/Changelog
@@ -0,0 +1,6 @@
+2012-01-31 Julien Nicoulaud <julien.nicoulaud@gmail.com>
+
+ * 2.4.4-4 :
+ Add changelog.
+ Remove unneeded shebang modification.
+
diff --git a/social/python2-cheetah/PKGBUILD b/social/python2-cheetah/PKGBUILD
new file mode 100644
index 000000000..34ce863a8
--- /dev/null
+++ b/social/python2-cheetah/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
+# Contributor: James Rayner <james@archlinux.org>
+# Contributor: Todd Maynard <arch@toddmaynard.com>
+# Source: https://github.com/nicoulaj/archlinux-packages
+pkgname=python2-cheetah
+pkgver=2.4.4
+pkgrel=4
+pkgdesc="A Python-powered template engine and code generator"
+arch=(i686 x86_64)
+url="http://www.cheetahtemplate.org"
+license=(custom)
+depends=(python2 python-markdown)
+makedepends=(python2-distribute)
+optdepends=('python2-pygments: for the CodeHighlighter filter')
+provides=(cheetah python-cheetah)
+conflicts=(cheetah python-cheetah)
+changelog=Changelog
+source=(http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${pkgver}.tar.gz)
+md5sums=('853917116e731afbc8c8a43c37e6ddba')
+
+build() {
+ cd "${srcdir}/Cheetah-${pkgver}"
+ python2 setup.py build
+}
+
+package() {
+ msg "Install..."
+ cd "${srcdir}/Cheetah-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" || return 1
+
+ msg2 "Install copyright resources in /usr/share/licenses/${pkgname}..."
+ install -Dm644 "${srcdir}/Cheetah-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/social/uci/PKGBUILD b/social/uci/PKGBUILD
new file mode 100644
index 000000000..d306b77bd
--- /dev/null
+++ b/social/uci/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar>
+pkgname=uci
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="OpenWRT's Unified Configuration Interface"
+arch=('i686' 'mips64el')
+url="https://openwrt.org"
+license=('GPL2')
+makedepends=('git' 'cmake' 'lua')
+source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz)
+md5sums=('135bf6c4188b72c7fd7954f592b1e4e4')
+
+# source PKGBUILD; mksource
+mksource() {
+
+ if [ -d uci/.git ]; then
+ pushd uci; git pull; popd
+ else
+ git clone git://nbd.name/uci.git
+ fi
+
+ cd uci/
+ git archive --prefix=${pkgname}-${pkgver}/ v${pkgver} | \
+ gzip -9 > ../${pkgname}-${pkgver}.tar.gz
+ cd ..
+}
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ cmake .
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir}/ install
+}
+
+# vim:set ts=2 sw=2 et: