blob: ec78ca8633406657aa5192afe557beb612a84461 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Stanislav Vasilev <contact@i-use-gentoo-btw.com>
PKG_REAL_NAME="UntitledDBusUtils"
pkgname=untitled-dbus-utils
pkgver=1.1.0.0
pkgrel=1
pkgdesc="C++ utilities for dealing with the low level DBus C API"
url="https://github.com/MadLadSquad/${PKG_REAL_NAME}"
arch=(x86_64 aarch64)
license=('MIT')
depends=("gcc-libs" "glibc" "pkgconf" "dbus")
provides=("lib${PKG_REAL_NAME}.so")
makedepends=("cmake" "make" "dbus" "pkgconf")
source=("https://github.com/MadLadSquad/${PKG_REAL_NAME}/releases/download/v${pkgver}/${pkgname}.tar.xz")
sha256sums=('aef06ff6ac5dc62093307bb42183cc13309723bfcde9ff5a80005e8af4d89f34')
build() {
cd $srcdir || exit
sed -i "s/lib64/lib/g" CMakeLists.txt
mkdir build || exit
cd build || exit
cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DUIMGUI_INSTALL=ON -DCMAKE_INSTALL_PREFIX="/usr/" || exit
make || exit
}
package() {
cd $srcdir/build || exit
cmake --install . --prefix="${pkgdir}/usr/" || exit
}
|