blob: a7527a024ed37222fbf4c6deb18b233973776dc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: k88936 email: kvtodev@outlook.com
pkgname=shotmd
pkgver=1.0.0
pkgrel=1
pkgdesc="A Screenshot tool for easy insert picture to markdown"
arch=('x86_64')
url="https://github.com/k88936/shotmd"
license=('GPL3')
depends=('openssl')
makedepends=('base-devel' 'git' 'cmake' 'gcc' 'qt6-base')
source=("git+https://github.com/k88936/shotmd.git")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm755 "build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
|