PKGBUILD directly build from the git a archlinux package.
changed the name of the binary to not have issue.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Marc barbier
|
||||
pkgname=modmanager
|
||||
pkgver=0.1
|
||||
pkgrel=1
|
||||
pkgdesc="a Mod manager for bethesda games"
|
||||
arch=('x86_64') # might work on other archs but i can not try
|
||||
url='https://gitlab.marcbarbier.fr/Marc/modmanager'
|
||||
license=('GPL2')
|
||||
source=( 'git+https://gitlab.marcbarbier.fr/Marc/modmanager.git' )
|
||||
md5sums=( 'SKIP' )
|
||||
|
||||
optdepends=('fuse-overlayfs: special filesystem support' )
|
||||
|
||||
depends=( 'glib2' 'unrar' 'p7zip' 'unzip' )
|
||||
|
||||
build() {
|
||||
cmake -B build -S "${pkgname}" \
|
||||
-DCMAKE_BUILD_TYPE='None' \
|
||||
-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
Reference in New Issue
Block a user