mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2025-09-20 18:00:07 +02:00
add PKGBUILD
This commit is contained in:
15
.vscode/settings.json
vendored
15
.vscode/settings.json
vendored
@@ -1,11 +1,18 @@
|
||||
{
|
||||
"cSpell.words": [
|
||||
"autobuild",
|
||||
"тулчейн",
|
||||
"тулчейна",
|
||||
"msys",
|
||||
"choco",
|
||||
"dpkg",
|
||||
"Egor",
|
||||
"iscc",
|
||||
"kolibrios",
|
||||
"Egor"
|
||||
"libisl",
|
||||
"makepkg",
|
||||
"msys",
|
||||
"pacman",
|
||||
"PKGBUILD",
|
||||
"тулчейн",
|
||||
"тулчейна"
|
||||
],
|
||||
"cSpell.ignorePaths": [
|
||||
"vscode-extension",
|
||||
|
@@ -2,6 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.2)
|
||||
|
||||
project(
|
||||
KolibriOS-gcc-Toolchain-installer
|
||||
VERSION 0.1.7
|
||||
DESCRIPTION "Installer of gcc toolchain for KolibriOS"
|
||||
)
|
||||
|
||||
@@ -87,7 +88,6 @@ add_custom_target(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/package/
|
||||
)
|
||||
|
||||
|
||||
add_custom_target(
|
||||
deb
|
||||
COMMAND cp -f ${CMAKE_CURRENT_BINARY_DIR}/libisl.so.10.2.2 ${CMAKE_CURRENT_BINARY_DIR}/package/usr/lib/x86_64-linux-gnu/libisl.so.10.2.2
|
||||
@@ -105,6 +105,15 @@ add_custom_target(
|
||||
configureDebPackage
|
||||
)
|
||||
|
||||
add_custom_target(
|
||||
pkg
|
||||
COMMAND makepkg
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Build pacman package"
|
||||
SOURCES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/install.sh
|
||||
)
|
||||
|
||||
add_custom_target(
|
||||
Installer
|
||||
COMMAND 7z x ${CMAKE_CURRENT_BINARY_DIR}/kos32-toolchain-win.7z -o ${CMAKE_CURRENT_BINARY_DIR}
|
||||
|
19
PKGBUILD
Normal file
19
PKGBUILD
Normal file
@@ -0,0 +1,19 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Your Name <youremail@domain.com>
|
||||
pkgname="kos32-gcc"
|
||||
pkgver="0.1.7"
|
||||
pkgrel="1"
|
||||
pkgdesc="KolibriOS gcc toolchain installer"
|
||||
arch=("x86_64")
|
||||
url="https://github.com/Egor00f/kolibrios-gcc-toolchain/"
|
||||
license=('MIT')
|
||||
source=("install.sh")
|
||||
md5sums=("SKIP")
|
||||
|
||||
package() {
|
||||
${srcdir}/install.sh
|
||||
}
|
Reference in New Issue
Block a user