initial import
This commit is contained in:
37
nuovext-icon-theme/PKGBUILD
Normal file
37
nuovext-icon-theme/PKGBUILD
Normal file
@@ -0,0 +1,37 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
_pkgname=icon-theme-nuovext
|
||||
pkgname=nuovext-icon-theme
|
||||
pkgver=0.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="nuoveXT2 icon theme"
|
||||
arch=('any')
|
||||
url='https://github.com/redtide/icon-theme-nuovext'
|
||||
license=('LGPL-3')
|
||||
depends=('gnome-icon-theme')
|
||||
install=$pkgname.install
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
|
||||
sha512sums=('58a0be8ec24d4e3a72f347c25d0fda425389bb8d7228a6786d60cf00aa7ac29e567116ce328cf773c7454f7c1eaee8de32271dcc3326ce61f1523d4ff4d4b8b0')
|
||||
|
||||
prepare() {
|
||||
# add fallback themes
|
||||
cd "$_pkgname-$pkgver"
|
||||
sed -i "s/Inherits=.*/Inherits=gnome,hicolor/" nuoveXT23/index.theme
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
# remove questionable data
|
||||
rm -rf "$pkgdir/usr/share/icons/nuoveXT23/extra/"
|
||||
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
11
nuovext-icon-theme/nuovext-icon-theme.install
Normal file
11
nuovext-icon-theme/nuovext-icon-theme.install
Normal file
@@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/nuoveXT23
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
||||
Reference in New Issue
Block a user