diff options
-rw-r--r-- | ~fauno/ruby-mustache/PKGBUILD | 29 | ||||
-rw-r--r-- | ~fauno/transmission-remote-cli/PKGBUILD | 26 |
2 files changed, 43 insertions, 12 deletions
diff --git a/~fauno/ruby-mustache/PKGBUILD b/~fauno/ruby-mustache/PKGBUILD new file mode 100644 index 000000000..7b396434c --- /dev/null +++ b/~fauno/ruby-mustache/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: David Campbell <davekong@archlinux.us> +pkgname=ruby-mustache +pkgver=0.99.4 +pkgrel=1 +pkgdesc="A framework-agnostic way to render logic-free views." +arch=('any') +url="http://github.com/defunkt/mustache" +license=(MIT) +depends=('ruby') +makedepends=('rubygems') +source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem") +noextract=("mustache-${pkgver}.gem") + +build() { + cd $srcdir + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install --ignore-dependencies -i "$pkgdir$_gemdir" mustache-$pkgver.gem \ + -n "$pkgdir/usr/bin" + + install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/LICENSE \ + $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/man/mustache.1 \ + $pkgdir/usr/share/man/man1/mustache.1 + install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/man/mustache.5 \ + $pkgdir/usr/share/man/man5/mustache.5 +} + +# vim:set ts=2 sw=2 et: +md5sums=('650194ec2c166feb087377647414b9dc') diff --git a/~fauno/transmission-remote-cli/PKGBUILD b/~fauno/transmission-remote-cli/PKGBUILD index 9a93c431f..869a2ebff 100644 --- a/~fauno/transmission-remote-cli/PKGBUILD +++ b/~fauno/transmission-remote-cli/PKGBUILD @@ -1,20 +1,21 @@ # Maintainer: fauno <fauno@kiwwwi.com.ar> pkgname=transmission-remote-cli -pkgver=20110901 -pkgrel=2 +pkgver=0.10.4 +pkgrel=1 pkgdesc="Curses interface for the daemon of the BitTorrent client Transmission" arch=('any') url="http://github.com/fagga/transmission-remote-cli" license=('GPL3') depends=('python2') -optdepends=('adns-python: Resolve IPs to host names' +optdepends=('transmission-daemon>=2.40: for local transmission management' + 'adns-python: Resolve IPs to host names' 'python-geoip: Guess which country peers come from') makedepends=('git') conflicts=('transmission-remote-cli-git') replaces=('transmission-remote-cli-git') source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz python2.patch) -md5sums=('1a087e384b413577f9d49917fd8eaab5' +md5sums=('df3cdde879275fbffb1af17872e9c860' '6273609fb3a7294328aeaa526b76411c') _gitroot="http://github.com/fagga/transmission-remote-cli.git" @@ -24,28 +25,29 @@ mksource() { echo "Connecting to the GIT repository..." if [ -d "$_gitname" ] ; then - pushd $_gitname && git pull origin + pushd $_gitname + git -b 2.40 origin/2.40 + git pull origin echo "The local files are updated." popd else git clone $_gitroot + cd $_gitroot + git checkout -b 2.40 origin/2.40 fi echo "GIT checkout done or server timeout" - tar czf ${pkgname}-$(date +%Y%m%d).tar.gz ${_gitname}/ + git archive --prefix=${pkgname}-${pkgver}/ | gzip > ${pkgname}-${pkgver}.tar.gz } build() { - cd "${srcdir}/${_gitname}" + cd "${srcdir}/${pkgname}-${pkgver}" msg "Starting make..." patch -Np1 -i ${srcdir}/python2.patch - install -d $pkgdir/usr/bin/ - install -D transmission-remote-cli.py $pkgdir/usr/bin/transmission-remote-cli + install -d ${pkgdir}/usr/bin/ + install -D transmission-remote-cli.py ${pkgdir}/usr/bin/transmission-remote-cli } - -md5sums=('df3cdde879275fbffb1af17872e9c860' - '6273609fb3a7294328aeaa526b76411c') |