Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
papirus-icon-theme
Commits:
0e04b49c by Haochen Tong at 2023-12-04T21:31:21+08:00
split epapirus into its own package
- - - - -
c81ad1c3 by Haochen Tong at 2023-12-04T21:31:22+08:00
disable strip as it is useless and time consuming
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -6,7 +6,12 @@ pkgbase = papirus-icon-theme
arch = any
license = GPL3
depends = gtk-update-icon-cache
+ options = !strip
source =
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/20231201/papirus-icon-theme-20231201.tar.gz
sha512sums =
49c9ef429ba5368d40c996aa84576bb4b7585291398c76ef13c969df19aaa4108ccc4691aed7881a7121cdc79b20f87caf3aa146cf8f0d353096506dce889faa
pkgname = papirus-icon-theme
+
+pkgname = epapirus-icon-theme
+ depends = gtk-update-icon-cache
+ depends = papirus-icon-theme
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,8 @@
# Contributor: kitsunyan <[email protected]>
# Contributor: Grigorii Horos <[email protected]>
-pkgname=papirus-icon-theme
+pkgbase=papirus-icon-theme
+pkgname=('papirus-icon-theme' 'epapirus-icon-theme')
pkgver=20231201
pkgrel=1
pkgdesc="Papirus icon theme"
@@ -10,10 +11,18 @@ arch=('any')
url="https://github.com/PapirusDevelopmentTeam/papirus-icon-theme"
license=("GPL3")
depends=('gtk-update-icon-cache')
-source=("https://github.com/PapirusDevelopmentTeam/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+source=("https://github.com/PapirusDevelopmentTeam/$pkgbase/archive/$pkgver/$pkgbase-$pkgver.tar.gz")
sha512sums=('49c9ef429ba5368d40c996aa84576bb4b7585291398c76ef13c969df19aaa4108ccc4691aed7881a7121cdc79b20f87caf3aa146cf8f0d353096506dce889faa')
+options+=(!strip)
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+package_papirus-icon-theme() {
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" ICON_THEMES="Papirus Papirus-Dark Papirus-Light"
install
+}
+
+package_epapirus-icon-theme() {
+ depends+=('papirus-icon-theme')
+
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" ICON_THEMES="ePapirus ePapirus-Dark" install
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/papirus-icon-theme/-/compare/eb0d02cc768db1613535ca1c219b692689dbf42c...c81ad1c39421770e0122f5b5b5705425a401b683
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/papirus-icon-theme/-/compare/eb0d02cc768db1613535ca1c219b692689dbf42c...c81ad1c39421770e0122f5b5b5705425a401b683
You're receiving this email because of your account on gitlab.archlinux.org.