summaryrefslogtreecommitdiff
path: root/community/sxiv
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-25 03:21:56 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-25 03:21:56 +0000
commit58e4d57ed9a8604dff646ccdfee54f9019ca5d13 (patch)
tree4e9698b9216274fafac9483056a01a552e8e617b /community/sxiv
parent15cd70d8180c2a45287e4bd8ce01a2a9248e8d62 (diff)
Tue Feb 25 03:19:16 UTC 2014
Diffstat (limited to 'community/sxiv')
-rw-r--r--community/sxiv/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/sxiv/PKGBUILD b/community/sxiv/PKGBUILD
index 0d3439b71..e7ab28b45 100644
--- a/community/sxiv/PKGBUILD
+++ b/community/sxiv/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 97145 2013-09-14 07:15:14Z bpiotrowski $
-# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
+# $Id: PKGBUILD 106175 2014-02-24 18:03:28Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# 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.1.1
-pkgrel=2
+pkgrel=3
pkgdesc='Simple X Image Viewer'
arch=('i686' 'x86_64')
license=('GPL2')
@@ -15,19 +15,20 @@ url='https://github.com/muennich/sxiv'
depends=('libx11' 'xproto' 'imlib2' 'giflib' 'desktop-file-utils')
source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz
config.h)
-sha256sums=('30569b7cb1568a7f60d102f6eb21f25c93de42243a1c8ac3c1a521d58b08281f'
- '61515a87692849c942bfc3cce8b4c0f19139b4a1e9b6375a994cc541c64aab5c')
+md5sums=('786f647326bdb24b672519924928dfca'
+ '53729e7dfba3c12b26fc8359d56523a2')
+
+prepare() {
+ cp config.h sxiv-$pkgver
+}
build() {
cd sxiv-$pkgver
- cp "$srcdir"/config.h .
make
}
package() {
cd sxiv-$pkgver
-
make PREFIX="$pkgdir"/usr install
- install -D -m644 sxiv.desktop \
- "$pkgdir"/usr/share/applications/sxiv.desktop
+ install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
}