PKGBUILD
This commit is contained in:
@@ -21,3 +21,5 @@ add_executable(${PROJECT_NAME} src/main.cc src/mainwindow.cc src/vault.cc ${UI_H
|
|||||||
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ${BOTAN_INCLUDE_DIRS})
|
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ${BOTAN_INCLUDE_DIRS})
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME} Qt6::Core Qt6::Widgets ${BOTAN_LIBRARIES})
|
target_link_libraries(${PROJECT_NAME} Qt6::Core Qt6::Widgets ${BOTAN_LIBRARIES})
|
||||||
|
|
||||||
|
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
|
||||||
|
|||||||
22
PKGBUILD
Normal file
22
PKGBUILD
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
pkgname=dull
|
||||||
|
pkgver=0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Desktop app for securely storing sensitive files"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/antpiasecki/dull"
|
||||||
|
depends=('qt6-base' 'botan')
|
||||||
|
makedepends=('cmake')
|
||||||
|
source=("${url}/archive/refs/tags/${pkgver}.tar.gz")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
DEBUGPKG=()
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${pkgname}-${pkgver}"
|
||||||
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
cmake --build build -j$(nproc)
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${pkgname}-${pkgver}/build"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
@@ -19,6 +19,12 @@ cmake --build build -j $(nproc)
|
|||||||
./build/dull
|
./build/dull
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Arch
|
||||||
|
```
|
||||||
|
sudo pacman -S base-devel
|
||||||
|
makepkg -si
|
||||||
|
```
|
||||||
|
|
||||||
### Windows / MSYS2
|
### Windows / MSYS2
|
||||||
```
|
```
|
||||||
pacman -S --needed mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-qt6-base mingw-w64-x86_64-qt6-tools mingw-w64-x86_64-libbotan
|
pacman -S --needed mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-qt6-base mingw-w64-x86_64-qt6-tools mingw-w64-x86_64-libbotan
|
||||||
|
|||||||
Reference in New Issue
Block a user