summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcgar2024-02-16 01:23:34 +0000
committercgar2024-02-16 01:23:34 +0000
commitd6ddbc6ece615be6540c60d5ce6adbe1e85f79c9 (patch)
treeb2925fe068d93d6965be3aaf90caaa9a7054d0ca
parent22875680b7d3c418b413f072634edba9f4d76a53 (diff)
downloadaur-d6ddbc6ece615be6540c60d5ce6adbe1e85f79c9.tar.gz
Fix missing License.txt
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 30d449981ea1..ea410645770e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 60fc437c3b1a..1f6f79c7b725 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/{}" \;
}