blob: 1124dd828f63f7e8acaf472187c4034f08e0f4bf (
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
25
26
27
28
29
30
|
# Maintainer: Hoream <hoream@qq.com>
_pkgname="satty"
pkgname="${_pkgname}-git"
pkgver=0.14.0.r6.g78b2aee
pkgrel=2
pkgdesc="A screenshot annotation tool inspired by Swappy and Flameshot."
url="https://github.com/gabm/satty"
license=("MPL2")
arch=('x86_64')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
depends=("hicolor-icon-theme" "gcc-libs" "libadwaita" "glib2" "gdk-pixbuf2" "gtk4" "pango" "glibc" "cairo")
makedepends=("cargo" "git" "make")
source=(${_pkgname}::git+${url})
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/^v//'
}
build(){
cd "${srcdir}/${_pkgname}"
make
}
package() {
cd "${srcdir}/${_pkgname}"
PREFIX=${pkgdir}/usr make install
}
|