Skip to content

Commit

Permalink
Add COPYING and README to pkgbuild install (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-g authored Jan 14, 2023
1 parent 0d4f52d commit 6c038b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions build-scripts/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,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"
}
6 changes: 4 additions & 2 deletions build-scripts/PKGBUILD-git
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 6c038b6

Please sign in to comment.