[arch-commits] Commit in sxiv/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Feb 7 23:44:14 UTC 2016
Date: Monday, February 8, 2016 @ 00:44:13
Author: foutrelis
Revision: 160549
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
sxiv/repos/community-staging-i686/
sxiv/repos/community-staging-i686/PKGBUILD
(from rev 160548, sxiv/trunk/PKGBUILD)
sxiv/repos/community-staging-i686/sxiv.install
(from rev 160548, sxiv/trunk/sxiv.install)
sxiv/repos/community-staging-x86_64/
sxiv/repos/community-staging-x86_64/PKGBUILD
(from rev 160548, sxiv/trunk/PKGBUILD)
sxiv/repos/community-staging-x86_64/sxiv.install
(from rev 160548, sxiv/trunk/sxiv.install)
---------------------------------------+
community-staging-i686/PKGBUILD | 33 ++++++++++++++++++++++++++++++++
community-staging-i686/sxiv.install | 12 +++++++++++
community-staging-x86_64/PKGBUILD | 33 ++++++++++++++++++++++++++++++++
community-staging-x86_64/sxiv.install | 12 +++++++++++
4 files changed, 90 insertions(+)
Copied: sxiv/repos/community-staging-i686/PKGBUILD (from rev 160548, sxiv/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-07 23:44:13 UTC (rev 160549)
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Bert Muennich <muennich at informatik.hu-berlin.de>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+
+pkgname=sxiv
+pkgver=1.3.2
+pkgrel=2
+pkgdesc='Simple X Image Viewer'
+arch=('i686' 'x86_64')
+license=('GPL2')
+install=sxiv.install
+url='https://github.com/muennich/sxiv'
+depends=('imlib2' 'desktop-file-utils' 'xdg-utils' 'hicolor-icon-theme' 'libexif')
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz")
+md5sums=('44822b3d4672a7ed22f1a14c86a0914f')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ ln -s config.def.h config.h
+}
+
+build() {
+ make -C "$pkgname-$pkgver"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ make -C icon PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
+}
Copied: sxiv/repos/community-staging-i686/sxiv.install (from rev 160548, sxiv/trunk/sxiv.install)
===================================================================
--- community-staging-i686/sxiv.install (rev 0)
+++ community-staging-i686/sxiv.install 2016-02-07 23:44:13 UTC (rev 160549)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: sxiv/repos/community-staging-x86_64/PKGBUILD (from rev 160548, sxiv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-02-07 23:44:13 UTC (rev 160549)
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Bert Muennich <muennich at informatik.hu-berlin.de>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+
+pkgname=sxiv
+pkgver=1.3.2
+pkgrel=2
+pkgdesc='Simple X Image Viewer'
+arch=('i686' 'x86_64')
+license=('GPL2')
+install=sxiv.install
+url='https://github.com/muennich/sxiv'
+depends=('imlib2' 'desktop-file-utils' 'xdg-utils' 'hicolor-icon-theme' 'libexif')
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz")
+md5sums=('44822b3d4672a7ed22f1a14c86a0914f')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ ln -s config.def.h config.h
+}
+
+build() {
+ make -C "$pkgname-$pkgver"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ make -C icon PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
+}
Copied: sxiv/repos/community-staging-x86_64/sxiv.install (from rev 160548, sxiv/trunk/sxiv.install)
===================================================================
--- community-staging-x86_64/sxiv.install (rev 0)
+++ community-staging-x86_64/sxiv.install 2016-02-07 23:44:13 UTC (rev 160549)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list