summaryrefslogtreecommitdiff
path: root/community/sxiv/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-02 09:38:50 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-02 09:38:50 +0200
commitb4e4bd9b44479ab23dbbeaf58ba35e25ff345df1 (patch)
tree49dafd3110cca5d6f5054d4f9ef04957ec7b53a6 /community/sxiv/PKGBUILD
parent7d33f92ae992837f61fe5db4535e95dfec6924fa (diff)
parentc9738c6a1d438f30dfa7363aa847343754f953ac (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/fcitx-mozc/PKGBUILD community/libfm/PKGBUILD community/sxiv/PKGBUILD extra/pulseaudio/PKGBUILD
Diffstat (limited to 'community/sxiv/PKGBUILD')
-rw-r--r--community/sxiv/PKGBUILD35
1 files changed, 18 insertions, 17 deletions
diff --git a/community/sxiv/PKGBUILD b/community/sxiv/PKGBUILD
index de24295bb..90566e8bf 100644
--- a/community/sxiv/PKGBUILD
+++ b/community/sxiv/PKGBUILD
@@ -1,34 +1,35 @@
+# $Id: PKGBUILD 87472 2013-04-01 10:33:39Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Bert Muennich <muennich at informatik.hu-berlin.de>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
pkgname=sxiv
-pkgver=1.0
-pkgrel=3
-pkgdesc='simple x image viewer'
+pkgver=1.1
+pkgrel=1
+pkgdesc='Simple X Image Viewer'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
install=sxiv.install
url='https://github.com/muennich/sxiv'
depends=('libx11' 'xproto' 'imlib2' 'giflib' 'libexif' 'desktop-file-utils')
-source=("https://github.com/downloads/muennich/sxiv/sxiv-${pkgver}.tar.gz"
- 'sxiv.desktop'
- 'config.h')
-md5sums=('c887e0af1e4d5a101b285a46d288c419'
- '1dda85ff6bed4de337f8fb303075ed11'
- 'c3e6c4b86da6b17687699dbd32c7717b')
-build() {
- cd "sxiv-${pkgver}"
+source=(https://github.com/muennich/sxiv/archive/$pkgver.tar.gz
+ sxiv.desktop
+ config.h)
+sha256sums=('7d22b060d264be25ee0e95afff9df535299dbdd48067c9fc795133e583e2583f'
+ 'bd14b9b6bc6d78f18cdff8535b4d1c13b3c76e35091dd6bc675011d42a01bb47'
+ '61515a87692849c942bfc3cce8b4c0f19139b4a1e9b6375a994cc541c64aab5c')
- cp "$srcdir/config.h" .
- make
+build() {
+ cd sxiv-$pkgver
+ cp "$srcdir"/config.h .
+ make
}
package() {
- cd "sxiv-${pkgver}"
+ cd sxiv-$pkgver
- make PREFIX="${pkgdir}/usr" install
- install -D -m644 ${srcdir}/sxiv.desktop \
- ${pkgdir}/usr/share/applications/sxiv.desktop
+ make PREFIX="$pkgdir"/usr install
+ install -D -m644 "$srcdir"/sxiv.desktop \
+ "$pkgdir"/usr/share/applications/sxiv.desktop
}