blob: ed97a2219b4e6bbaaea10705eb6a87ce32fc595e (
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="UntitledExec"
pkgname=untitled-exec
pkgver=4.0.0.0
pkgrel=1
pkgdesc="C/C++ cross-platform wrapper for launching applications as separate processes"
url="https://github.com/MadLadSquad/${PKG_REAL_NAME}"
arch=(x86_64 aarch64)
license=('MIT')
depends=("gcc-libs" "glibc" "pkgconf")
provides=("libuexec.so")
makedepends=("cmake" "make")
source=("https://github.com/MadLadSquad/${PKG_REAL_NAME}/releases/download/v${pkgver}/${pkgname}.tar.xz")
sha256sums=('39a29693bda66bf7b95076a682e7b3a76683b1b2b0a03214b8f082a3ac02c3df')
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
}
|