diff options
author | cgar | 2024-02-16 01:23:34 +0000 |
---|---|---|
committer | cgar | 2024-02-16 01:23:34 +0000 |
commit | d6ddbc6ece615be6540c60d5ce6adbe1e85f79c9 (patch) | |
tree | b2925fe068d93d6965be3aaf90caaa9a7054d0ca | |
parent | 22875680b7d3c418b413f072634edba9f4d76a53 (diff) | |
download | aur-d6ddbc6ece615be6540c60d5ce6adbe1e85f79c9.tar.gz |
Fix missing License.txt
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = discord-chat-exporter-plus-cli pkgdesc = Exports Discord chat logs to a file (without the political bloat) pkgver = 2.42.7 - pkgrel = 1 + pkgrel = 2 url = https://github.com/nulldg/DiscordChatExporterPlus arch = any license = MIT @@ -4,7 +4,7 @@ pkgname='discord-chat-exporter-plus-cli' _apkgname='DiscordChatExporter' _gpkgname='DiscordChatExporterPlus' pkgver=2.42.7 -pkgrel=1 +pkgrel=2 pkgdesc='Exports Discord chat logs to a file (without the political bloat)' url="https://github.com/nulldg/$_gpkgname" @@ -33,6 +33,10 @@ build() { package() { install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" - cd "$_gpkgname-$pkgver/$_apkgname.Cli/bin/Release/net8.0/publish" + + cd "$_gpkgname-$pkgver" + install -Dm644 License.txt "$pkgdir/usr/share/licenses/$pkgname/License.txt" + + cd "$_apkgname.Cli/bin/Release/net8.0/publish" find . -type f -exec install -Dm644 "{}" "$pkgdir/usr/lib/$pkgname/{}" \; } |