summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoraetherised2021-05-11 02:31:18 -0400
committeraetherised2021-05-11 02:31:18 -0400
commit47f001bfb2af09cbaa1e3077a1971a3d61ccd066 (patch)
treefd2b32cfed9333d8fe3cea9dfcfc46527863292e /PKGBUILD
downloadaur-addmag.tar.gz
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4b260c7903a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: aetherised <aetherised@gmail.com>
+
+pkgname=addmag
+pkgver=0.1.1
+pkgrel=4
+pkgdesc="Opens magnet links using a remote Transmission daemon"
+arch=('any')
+url="https://github.com/aetherised/addmag"
+license=('MIT')
+depends=('transmission-cli' 'bash')
+source=(
+ 'addmag'
+ 'addmag.desktop'
+ 'LICENSE'
+ 'README.md'
+)
+package() {
+ install -Dvm755 "addmag" "${pkgdir}/usr/bin/addmag"
+ install -Dvm644 "addmag.desktop" "${pkgdir}/usr/share/applications/addmag.desktop"
+ install -Dvm644 "LICENSE" "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+ install -Dvm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+ install -dv "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -s "/usr/share/doc/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+md5sums=('14f98b59c71487c92b6b5d49cc2db79d'
+ '921ef9cd57fe1e0f6e8cb3cd7ce41029'
+ '648ebc0775a7579d1f66bbf4b2381b83'
+ '0398bc2eabdc6bf328ca160dfd2074ad')