summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntony Kellermann2023-09-02 21:31:06 -0400
committerAntony Kellermann2023-09-02 21:31:06 -0400
commitb6fb3e2ea56bc3d420f89b7362169b2d3a06b3e8 (patch)
tree121540e617f62abcd766f28d138d0ca2460a2a4b /PKGBUILD
parent58020abfbb9785bebeeebf46d37651eebd6c0437 (diff)
downloadaur-b6fb3e2ea56bc3d420f89b7362169b2d3a06b3e8.tar.gz
Add man
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b994fadc95ba..09fdd4d56bfa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Antony Kellermann <antony@aokellermann.dev>
pkgname=sway-scratch
-pkgver=0.2.0
+pkgver=0.2.1
pkgrel=1
pkgdesc='Automatically starting named scratchpads for sway'
arch=('x86_64')
@@ -11,7 +11,7 @@ depends=(glibc gcc-libs)
makedepends=(git cargo)
optdepends=('sway: sway support'
'i3-wm: i3 support')
-_tag=c4cb205ac97cec53b43fc4aa1d050c16934183b0 # git rev-parse v${pkgver}
+_tag=e1af0f5ab37f5eb9ef4bef57a4ae512675671d81 # git rev-parse v${pkgver}
source=("${pkgname}::git+${url}?signed#tag=${_tag}")
sha256sums=('SKIP')
@@ -23,9 +23,12 @@ pkgver() {
build() {
cd ${pkgname}
cargo build --release
+ DESTDIR=target/release cargo docs
}
package() {
install -Dm755 ${srcdir}/${pkgname}/target/release/${pkgname} -t "${pkgdir}"/usr/bin/
install -Dm644 ${srcdir}/${pkgname}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+ install -Dm644 ${srcdir}/${pkgname}/target/release/${pkgname}.1 -t "${pkgdir}"/usr/share/man/man1/
+ install -Dm644 ${srcdir}/${pkgname}/target/release/${pkgname}-show.1 -t "${pkgdir}"/usr/share/man/man1/
}