summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-26 03:35:58 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-26 03:35:58 +0000
commit3f23b6bf0b09b0edd47e2c763b3be136bc2fe274 (patch)
tree3be88fe725fc529471a0a3ca5af4b509e2ff88b1 /pcr
parent58e4d57ed9a8604dff646ccdfee54f9019ca5d13 (diff)
Wed Feb 26 03:32:51 UTC 2014
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ruby-bundler/PKGBUILD37
-rw-r--r--pcr/tunnels-git/PKGBUILD58
-rw-r--r--pcr/xfce-theme-greybird/PKGBUILD18
3 files changed, 84 insertions, 29 deletions
diff --git a/pcr/ruby-bundler/PKGBUILD b/pcr/ruby-bundler/PKGBUILD
index 44a1a883b..52e4d36e4 100644
--- a/pcr/ruby-bundler/PKGBUILD
+++ b/pcr/ruby-bundler/PKGBUILD
@@ -1,24 +1,25 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer (Parabola): Márcio Silva <coadde@parabola.nu>
-_pkgname=bundler
-pkgname=ruby-$_pkgname
-pkgver=1.3.5
+_gemname=bundler
+pkgname=ruby-$_gemname
+pkgver=1.5.3
pkgrel=1
-pkgdesc="Is manages an application's dependencies through its entire life, across many machines, systematically and repeatably."
-arch=any
-url=http://gem$_pkgname.com
-license=MIT
-depends=ruby
-source=http://rubygems.org/downloads/$_pkgname-$pkgver.gem
-noextract=$_pkgname-$pkgver.gem
-sha256sums=08b89047f7b829f3e197a28fb1bde74c3f5cfea1552f99dfba237fee30eaffe4
+pkgdesc="Is manages an application's dependencies through its entire life, across many machines, systematically and repeatably"
+arch=(any)
+url='http://gembundler.com'
+license=(MIT)
+depends=(ruby)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('d23650aeb366efd85d9c51a36b3dde477a868919')
package() {
- cd $srcdir
-
- local _gemdir=$(ruby -rubygems -e'puts Gem.default_dir')
- HOME=/tmp gem install --no-user-install --ignore-dependencies\
- -i $pkgdir$_gemdir -n $pkgdir/usr/bin\
- $_pkgname-$pkgver.gem
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}
diff --git a/pcr/tunnels-git/PKGBUILD b/pcr/tunnels-git/PKGBUILD
new file mode 100644
index 000000000..bf1f0e8bc
--- /dev/null
+++ b/pcr/tunnels-git/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Etienne Perot <etienne at perot dot me>
+pkgname=tunnels-git
+pkgver=20130503
+pkgrel=1
+pkgdesc='Transparent, system-wide, domain-name-specific proxying rules'
+arch=('any')
+url='https://github.com/EtiennePerot/tunnels'
+license=('LGPL')
+depends=('bash' 'python2' 'python2-paramiko' 'python2-yaml')
+makedepends=('git' 'svn')
+source=(
+ 'https://socksipy-branch.googlecode.com/svn-history/r19/trunk/socks.py'
+ 'https://pypi.python.org/packages/source/p/python-daemon/python-daemon-1.6.tar.gz'
+ 'https://pypi.python.org/packages/source/l/lockfile/lockfile-0.9.1.tar.gz'
+)
+sha512sums=(
+ '58e7393b365ad5bde308cb2290224c15dfce82c0dc8e3209b8c4fea9876d1afa5bebfd184ea5e9d577d1494037f78bf5013a64d7ad21b5ed4b7405fb4a3a86dd'
+ 'ff9480844d8f57a09f27067aaa78669c167f66b2cc05f9b3baa660bc0aa21228d4894eeaeb3440611c1e0f0d5633b1c60eac60893da4a86d1db4b94d99961299'
+ '46288cb4d15bcb546d6cece7e032b7b020c71fba695d16a3c7718eeb0bc15c97c29f09f3c1649b6061d117e6bbd708e243fdcee89b2fa5f13a262a0e74f62c3d'
+)
+
+_gitroot='git://perot.me/tunnels'
+_gitname='tunnels'
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [[ -d "$_gitname" ]]; then
+ cd "$_gitname" && git pull origin
+ msg "The local files are updated."
+ else
+ git clone "$_gitroot" "$_gitname"
+ fi
+
+ msg "Starting build..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+ cp -ra "$srcdir/socks.py" "$srcdir"/python-daemon-*/daemon "$srcdir"/lockfile-*/lockfile src/
+ python util/mkportslist.py > conf.d.sample/autogenerated-ports.yml
+}
+
+package() {
+ cd "$srcdir/$_gitname-build"
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -D -m644 pkg/resources/tunnels.service "$pkgdir/usr/lib/systemd/system/tunnels.service"
+ mkdir -p "$pkgdir/usr/lib/tunnels"
+ for target in conf.d.sample src tunnels tunnelsd; do
+ cp -ra "$target" "$pkgdir/usr/lib/tunnels/"
+ done
+ mkdir -p "$pkgdir/etc/tunnels.d"
+ cp -a conf.d.sample/* "$pkgdir/etc/tunnels.d/"
+ mkdir -p "${pkgdir}/usr/bin"
+ ln -sf /usr/lib/tunnels/tunnels "$pkgdir/usr/bin/tunnels"
+ ln -sf /usr/lib/tunnels/tunnelsd "$pkgdir/usr/bin/tunnelsd"
+}
diff --git a/pcr/xfce-theme-greybird/PKGBUILD b/pcr/xfce-theme-greybird/PKGBUILD
index 74f21775e..14b8c8fbd 100644
--- a/pcr/xfce-theme-greybird/PKGBUILD
+++ b/pcr/xfce-theme-greybird/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Limao Luo <luolimao+AUR@gmail.com>
# Contributor: flan_suse
-
+#
# This suite contains the following:
# * xfwm4 theme
# * xfwm4 compact theme
@@ -15,14 +15,10 @@
# * lightdm theme
# * wallpaper (found in the shimmer-wallpapers package; optdepends)
-# There have been some drastic changes as of July 22nd, 2012!
-# Please read through the AUR page comments if you wish to learn more.
-# I have modified this PKGBUILD to compensate for the drastic changes.
-
pkgname=xfce-theme-greybird
_pkgname=Greybird
-pkgver=1.1.1
-_pkgverclassic=0.8.2
+pkgver=1.3.1
+_pkgverclassic=0.9
pkgrel=1
pkgdesc="A grey and blue Xfce theme, used by default in Xubuntu 12.04; includes the classic low saturation theme"
arch=(any)
@@ -39,10 +35,10 @@ optdepends=('elementary-xfce-icons: matching icon set; use the dark icon theme'
conflicts=($pkgname-git)
source=($pkgname-$pkgver.tar.gz::https://github.com/shimmerproject/$_pkgname/archive/v$pkgver.tar.gz
$pkgname-$_pkgverclassic.tar.gz::https://github.com/shimmerproject/$_pkgname/archive/v$_pkgverclassic.tar.gz)
-sha256sums=('374bc55d6af98ca6052cc5dd6c55db3b1ce9002fe81d3fde3e9b72febe697878'
- 'b63da3527760c194bb7299c1cb45297268439740e52e2c5e1f39fc31dce6293a')
-sha512sums=('1e4f7dea5e0206972d7d4a5bf42b353abf21e40d215fc1b0e7b546a4c95c7ce0604a37e9f2ad6c272fedf4720d0a5eee732a6b89d83c635c24082c24711c9e5e'
- '09f19bbfe02a477de6635198736897d143a5eec8ed13e6d1863c80f5d78b341ecdf2b2cf48bffddead25082eeadde475d360fc7bee773307c5cc10fb3ff90034')
+sha256sums=('f25f402878a3f91740291934cbb1ec5d91cb9504e5ee94ddad5cfc66dd59ed44'
+ '661f81347fe227bc3dc7ae40ee0e9bf1c96b478fab7283416a8569379a0aec4f')
+sha512sums=('cf85da68a15dca0f9ce13af46407a3cc4a77d0388e0ef760a0c24eacb56f544f409134a72986d42aafdf1786b4a5d1645f2ce2f1d56c9fbdbb5d5f85fd015416'
+ '599fa02ea6eeb6f805c06f7e57ea86d6b620a28a24c5439b0a826439e04a7ac245a95c86c8ee5a4550c070308174564a427dd80fa8538c90e1439b9f697e17c4')
package() {
local _themedir="$pkgdir/usr/share/themes"