mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:14:36 +08:00
50 lines
1.2 KiB
Bash
50 lines
1.2 KiB
Bash
# Include global configuration
|
|
|
|
pkgbase=oxygen-icons
|
|
_pkgbase=oxygen-icons5
|
|
pkgname=('oxygen-icons' 'oxygen-icons-svg')
|
|
pkgver=5.48.0
|
|
epoch=1
|
|
pkgrel=1
|
|
arch=('x86_64')
|
|
url='http://www.oxygen-icons.org/'
|
|
license=('LGPL')
|
|
groups=('kf5')
|
|
makedepends=('cmake' 'extra-cmake-modules' 'qt5-tools')
|
|
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${_pkgbase}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=('fc7270213b9b2844d03f15e552bd4dd5abe0e9770c24b83a4f7efdd7857fc123'
|
|
SKIP)
|
|
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${_pkgbase}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_SYSCONFDIR=/etc \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DBUILD_TESTING=OFF \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
make
|
|
}
|
|
|
|
package_oxygen-icons() {
|
|
pkgdesc="The Oxygen Icon Theme"
|
|
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_oxygen-icons-svg() {
|
|
pkgdesc="The Oxygen Icon Theme (Scalable Vector Graphics)"
|
|
|
|
cd ${_pkgbase}-${pkgver}
|
|
find scalable -type f ! -name '*.sh' -exec \
|
|
install -D -m644 "{}" "${pkgdir}/usr/share/icons/oxygen/{}" \;
|
|
}
|