Add COPYING and README to pkgbuild install (#200)

This commit is contained in:
bd-g
2023-01-14 07:05:02 -05:00
committed by GitHub
parent 0d4f52d44a
commit 6c038b66ec
2 changed files with 8 additions and 4 deletions

View File

@@ -38,5 +38,7 @@ build() {
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
DESTDIR="$pkgdir/" ninja -C build install
install -Dm644 "$_pkgfoldername-$pkgver/COPYING" -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 "$_pkgfoldername-$pkgver/README.md" -t "$pkgdir/usr/share/doc/$pkgname"
}