diff options
author | Antony Kellermann | 2023-09-02 21:31:06 -0400 |
---|---|---|
committer | Antony Kellermann | 2023-09-02 21:31:06 -0400 |
commit | b6fb3e2ea56bc3d420f89b7362169b2d3a06b3e8 (patch) | |
tree | 121540e617f62abcd766f28d138d0ca2460a2a4b /PKGBUILD | |
parent | 58020abfbb9785bebeeebf46d37651eebd6c0437 (diff) | |
download | aur-b6fb3e2ea56bc3d420f89b7362169b2d3a06b3e8.tar.gz |
Add man
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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/ } |