This commit is contained in:
2025-11-04 20:10:52 +01:00
parent 82cf551a4c
commit 4ddab5afeb
3 changed files with 30 additions and 0 deletions

View File

@@ -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_link_libraries(${PROJECT_NAME} Qt6::Core Qt6::Widgets ${BOTAN_LIBRARIES})
install(TARGETS ${PROJECT_NAME} DESTINATION bin)

22
PKGBUILD Normal file
View 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
}

View File

@@ -19,6 +19,12 @@ cmake --build build -j $(nproc)
./build/dull
```
### Arch
```
sudo pacman -S base-devel
makepkg -si
```
### 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