diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-30 03:34:59 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-30 03:34:59 +0000 |
commit | 53db844f5c8c3d0a6752bb40f65c613020084541 (patch) | |
tree | d910e83c076bbb5d07951bceaf8570aa2bcdea90 /community | |
parent | ce34930a04e783323d0a92208729b9e5fa1994c5 (diff) |
Mon Dec 30 03:31:50 UTC 2013
Diffstat (limited to 'community')
-rw-r--r-- | community/mpv/PKGBUILD | 25 | ||||
-rw-r--r-- | community/qiv/PKGBUILD | 28 | ||||
-rw-r--r-- | community/qiv/qiv.install | 11 | ||||
-rw-r--r-- | community/rubinius/PKGBUILD | 16 |
4 files changed, 51 insertions, 29 deletions
diff --git a/community/mpv/PKGBUILD b/community/mpv/PKGBUILD index a6683683b..ba55e1e7a 100644 --- a/community/mpv/PKGBUILD +++ b/community/mpv/PKGBUILD @@ -1,50 +1,49 @@ -# $Id: PKGBUILD 103161 2013-12-28 10:21:00Z bpiotrowski $ +# $Id: PKGBUILD 103194 2013-12-29 19:04:18Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Eivind Uggedal <eivind@uggedal.com> pkgname=mpv -pkgver=0.2.4 -pkgrel=4 +pkgver=0.3.0 +pkgrel=1 pkgdesc='Video player based on MPlayer/mplayer2' arch=('i686' 'x86_64') license=('GPL') url='http://mpv.io' depends=( - 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libxinerama' - 'libquvi' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' - 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' + 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi' + 'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' + 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav' ) -makedepends=('mesa' 'python-docutils') +makedepends=('mesa' 'python-docutils' 'waf') options=('!emptydirs' '!buildflags') install=mpv.install source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz) -md5sums=('465e99ed24478f3a2afe5ae1c4fdd7f4') +md5sums=('47c9ea5fc8cf0c15cc6a15631bfbc770') build() { cd $pkgname-$pkgver - ./configure --prefix=/usr \ + waf configure --prefix=/usr \ --confdir=/etc/mpv \ --enable-joystick \ --enable-wayland \ --disable-radio \ --disable-radio-capture \ --disable-radio-v4l2 \ - --disable-rpath \ --disable-libbs2b \ --disable-direct3d \ --disable-corevideo \ --disable-cocoa \ --disable-coreaudio - make + waf build } package() { cd $pkgname-$pkgver - make -j1 DESTDIR="$pkgdir" install + waf install --destdir="$pkgdir" install -d "$pkgdir"/usr/share/doc/mpv/examples - install -m644 etc/{input,example,encoding-example-profiles}.conf \ + install -m644 etc/{input,example}.conf \ "$pkgdir"/usr/share/doc/mpv/examples install -m644 DOCS/{encoding.rst,tech-overview.txt} \ "$pkgdir"/usr/share/doc/mpv diff --git a/community/qiv/PKGBUILD b/community/qiv/PKGBUILD index 2e6c7c963..80772b1db 100644 --- a/community/qiv/PKGBUILD +++ b/community/qiv/PKGBUILD @@ -1,25 +1,37 @@ -# $Id: PKGBUILD 83178 2013-01-27 16:25:48Z pierre $ +# $Id: PKGBUILD 103185 2013-12-29 03:26:56Z kkeen $ +# Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> -# Maintainer: Paul Mattal <paul@archlinux.org> +# Contributor: Paul Mattal <paul@archlinux.org> pkgname=qiv -pkgver=2.2.4 -pkgrel=2 +pkgver=2.3.1 +pkgrel=1 pkgdesc="Quick Image Viewer (qiv) is a very small and fast GDK/Imlib image viewer" arch=('i686' 'x86_64') url="http://spiegl.de/qiv/" license=('GPL2') -depends=('file' 'gtk2' 'imlib2') +depends=('file' 'gtk2' 'imlib2' 'libexif' 'lcms2' 'desktop-file-utils') +install=qiv.install source=(http://spiegl.de/qiv/download/$pkgname-$pkgver.tgz) -md5sums=('1425f89c90f9c045858fccf24d894c97') +md5sums=('93aea7469be64ebd35277a6dac079fc8') build() { cd "$srcdir/$pkgname-$pkgver" + sed -i "s|^PREFIX = .*|PREFIX = /usr|" Makefile + sed -i "s|\./qiv|echo &|" Makefile # nuke test + sed -i "s|/man/|/share&|" Makefile make } package() { cd "$srcdir/$pkgname-$pkgver" - install -D -m 0755 qiv "$pkgdir/usr/bin/qiv" - install -D -m 0644 qiv.1 "$pkgdir/usr/share/man/man1/qiv.1" + sed -i "s|^PREFIX = .*|PREFIX = $pkgdir/usr|" Makefile + make install + + install -D -m 0644 README "$pkgdir/usr/share/doc/qiv/README" + install -d "$pkgdir/usr/share/doc/qiv/contrib" + cp contrib/* "$pkgdir/usr/share/doc/qiv/contrib" + #install -D -m 0755 contrib/gps2url.py "$pkgdir/usr/share/doc/qiv/contrib/gps2url.py" + #install -D -m 0755 contrib/qiv-command.example "$pkgdir/usr/share/doc/qiv/contrib/qiv-command.example" } + diff --git a/community/qiv/qiv.install b/community/qiv/qiv.install new file mode 100644 index 000000000..660593cf5 --- /dev/null +++ b/community/qiv/qiv.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/rubinius/PKGBUILD b/community/rubinius/PKGBUILD index 593febc0a..1d4d24942 100644 --- a/community/rubinius/PKGBUILD +++ b/community/rubinius/PKGBUILD @@ -1,25 +1,25 @@ -# $Id: PKGBUILD 102860 2013-12-22 14:20:57Z heftig $ +# $Id: PKGBUILD 103201 2013-12-29 21:58:18Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgbase=rubinius pkgname=(rubinius rubinius-ruby) -pkgver=2.2.2 +pkgver=2.2.3 pkgrel=1 pkgdesc="Ruby runtime written in Ruby, designed for concurrency" arch=(i686 x86_64) url="http://rubini.us" license=(custom) depends=(llvm-libs libffi openssl libyaml) -makedepends=(llvm ruby) +makedepends=(llvm rubinius-ruby) options=(!emptydirs) source=(http://releases.rubini.us/${pkgbase}-${pkgver}.tar.bz2 gemrc dirs.patch) -sha256sums=('a49d596f889405e4fc511da64b8afe5eccfafdcee5ea99be15d3ad36290ec2ba' +sha256sums=('b3426aa6996420f1d9d8a7926a94160b84d8bdf725793c64462b27b74f2f2acf' '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614' '93f3918dc2a5679e281e724f9b3cb712ffa784c1e52e6fa7ce75f74ce6655a66') prepare() { - export GEM_HOME="$srcdir/gemdir" + export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8" cd $pkgbase-$pkgver patch -Np1 -i ../dirs.patch @@ -31,7 +31,7 @@ prepare() { } build() { - export GEM_HOME="$srcdir/gemdir" + export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8" cd $pkgbase-$pkgver ./configure --prefix=/usr \ @@ -46,7 +46,7 @@ build() { } check() { - export GEM_HOME="$srcdir/gemdir" + export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8" cd $pkgbase-$pkgver rake vm:test || : @@ -55,7 +55,7 @@ check() { package_rubinius() { optdepends=('ruby-docs: Ruby documentation') - export GEM_HOME="$srcdir/gemdir" + export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8" cd $pkgbase-$pkgver DESTDIR="$pkgdir" rake install |