diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index e841582..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -cmake_minimum_required(VERSION 3.5) -find_program(CMAKE_C_COMPILER NAMES $ENV{CC} gcc PATHS ENV PATH NO_DEFAULT_PATH) -find_program(CMAKE_CXX_COMPILER NAMES $ENV{CXX} g++ PATHS ENV PATH NO_DEFAULT_PATH) -project(owo) -add_executable(owo src/main.cpp) -target_link_libraries(owo) diff --git a/PKGBUILD b/PKGBUILD index f4eb336..eea87db 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -12,8 +12,7 @@ md5sums=('SKIP') build() { cd "$srcdir/term-owo-cpp" - cmake . -B build - cd build && make + make dirs build_unix } package() { diff --git a/makefile b/makefile index 7a422cb..b853f89 100644 --- a/makefile +++ b/makefile @@ -29,6 +29,11 @@ make_deb: mv build/owo_deb.deb build/owo.deb rm -rf build/owo_deb -build_all: build_unix build_win make_deb +make_arch: + mkdir build/owo_arch + cp PKGBUILD build/owo_arch + makepkg -D build/owo_arch + +build_all: build_unix build_win make_deb make_arch .PHONY: all dirs clean build_all build_unix build_win \ No newline at end of file