forked from face-hh/webx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
23 lines (22 loc) · 758 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=napture
pkgver=1.2.2
pkgrel=1
pkgdesc="An alternative for the World Wide Web"
arch=('x86_64')
url="https://github.com/face-hh/webx"
license=('Apache-2.0')
depends=('glib2' 'gtk4' 'libadwaita' 'lua')
makedepends=('cargo')
source=("git+${url}.git#tag=v${pkgver}")
sha256sums=('SKIP')
build() {
cd "$srcdir/webx/napture"
cargo build --release
}
package() {
cd "$srcdir/webx/napture"
install -Dm755 "target/release/webx" "$pkgdir/usr/bin/napture"
install -Dm644 "io.github.face_hh.Napture.metainfo.xml" -t "$pkgdir/usr/share/metainfo/"
install -Dm644 "io.github.face_hh.Napture.desktop" -t "$pkgdir/usr/share/applications/"
install -Dm644 "io.github.face_hh.Napture.svg" -t "$pkgdir/usr/share/icons/hicolor/scalable/apps/"
}