36 lines
1.3 KiB
Bash
36 lines
1.3 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=tint3-cpp
|
|
pkgver=0.3.0
|
|
_abseilname=abseil-cpp
|
|
_abseilver=20220623.0
|
|
pkgrel=1
|
|
pkgdesc="Free and libre C++ rewrite of the tint2 panel."
|
|
arch=('i686' 'x86_64')
|
|
url='https://github.com/jmc-88/tint3'
|
|
license=('GPL-2')
|
|
depends=('imlib2' 'pango' 'libxinerama' 'libxrandr' 'libxcomposite' 'startup-notification' 'hicolor-icon-theme'
|
|
'curl' 'libxdamage' 'xsettings-client')
|
|
makedepends=('cmake' 'xenocara-server-xvfb' 'xenocara-xauth')
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jmc-88/tint3/archive/refs/tags/v${pkgver}.tar.gz"
|
|
"${_abseilname}-${_abseilver}.tar.gz::https://github.com/abseil/abseil-cpp/archive/refs/tags/${_abseilver}.tar.gz")
|
|
sha512sums=('43b287ef2cc27727711756fde1016848bab40ca77cc4c14203bb5ba9e23374043fa1aa5167e7fa723f5f3af25ac5593993f80347d139248cbcb21b319698f3ec'
|
|
'6a84254927cac285c77f6b2e77de23ce4f65c28acc0289228f3db552e247fb1dedf2c6e51a98da7df700c062612e27e6acd029122e8abc3fff12f3f5502c8c10')
|
|
|
|
prepare() {
|
|
mv "abseil-cpp-${_abseilver}" "abseil-cpp"
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/tint3-${pkgver}"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/tint3-${pkgver}"
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|
|
|