[arch-commits] Commit in arc-icon-theme/repos (community-any community-any/PKGBUILD)
NicoHood
nicohood at archlinux.org
Tue Nov 1 17:36:48 UTC 2016
Date: Tuesday, November 1, 2016 @ 17:36:47
Author: nicohood
Revision: 194226
archrelease: copy trunk to community-any
Added:
arc-icon-theme/repos/community-any/
arc-icon-theme/repos/community-any/PKGBUILD
(from rev 194225, arc-icon-theme/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: arc-icon-theme/repos/community-any/PKGBUILD (from rev 194225, arc-icon-theme/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2016-11-01 17:36:47 UTC (rev 194226)
@@ -0,0 +1,36 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: ELmoussaoui Bilal <bil.elmoussaoui at gmail.com>
+
+pkgname=arc-icon-theme
+pkgver=20160605
+pkgrel=2
+pkgdesc='Arc icon theme. Official releases only.'
+arch=('any')
+url="https://github.com/horst3180/arc-icon-theme"
+license=('GPL3')
+depends=('gtk-update-icon-cache' 'hicolor-icon-theme')
+optdepends=( #'moka-icon-theme-git: Arc icon theme was built to be used on top of Moka icon theme'
+ #'faba-icon-theme: Smaller version of moka with no application icons'
+ 'elementary: Secondary icon theme fallback'
+ 'arc-gtk-theme: gtk theme of arc')
+options=('!emptydirs' '!strip')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/horst3180/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('cb5ae5b828c2945614885672d2bd741dffe7cd77c0b7bf2d060bdcac046b7cee7dc5c6643e51bd2954b54d40aa05afddc555e2a1523ba8443cedf7997ad218d1')
+
+prepare() {
+ # Add moka, faba and elementary theme as fallback theme
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i "s/Inherits=.*/Inherits=Moka,Faba,elementary,Adwaita,gnome,hicolor/" Arc/index.theme
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list