summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlll2yu2018-01-27 17:06:41 +0530
committerlll2yu2018-01-27 17:06:41 +0530
commitdb0f5df39b1367a9b39940b880aa943af39ea477 (patch)
tree043e06daef82db82e75be028e90b16409c61b8a1
downloadaur-db0f5df39b1367a9b39940b880aa943af39ea477.tar.gz
First release on aur
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD27
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ba7159ad0a4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = auryo
+ pkgdesc = A SoundCloud client for your desktop.
+ pkgver = 1.4.3
+ pkgrel = 1
+ url = http://auryo.com
+ arch = x86_64
+ source = https://github.com/Superjo149/auryo/releases/download/v1.4.3/Auryo-1.4.3.pacman
+ md5sums = 05f226c49d9c6f99ae5b00dedc388de2
+
+pkgname = auryo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ca5e27ef551
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: LLL2yu <lll2yu@protonmail.com>
+
+pkgname="auryo"
+desktopname="auryo"
+fullpkgname="Auryo"
+pkgver=1.4.3
+pkgrel=1
+pkgdesc="A SoundCloud client for your desktop."
+arch=("x86_64")
+url="http://auryo.com"
+license=("")
+source=("https://github.com/Superjo149/auryo/releases/download/v${pkgver}/${fullpkgname}-${pkgver}.pacman")
+md5sums=("05f226c49d9c6f99ae5b00dedc388de2")
+replace_str="\/opt\/${fullpkgname}\/${fullpkgname}"
+
+package() {
+ cd "${srcdir}/"
+ install -dm755 "${pkgdir}/opt/"
+ install -dm755 "${pkgdir}/usr/share/applications/"
+ install -dm755 "${pkgdir}/usr/share/icons/"
+ cp -r "${srcdir}/opt/${fullpkgname}" "${pkgdir}/opt/"
+ cp -r "${srcdir}/usr/share/applications/${desktopname}.desktop" "${pkgdir}/usr/share/applications/"
+ cp -r "${srcdir}/usr/share/icons" "${pkgdir}/usr/share/"
+ mkdir -p "${pkgdir}/usr/bin"
+ ln -s "/opt/${fullpkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ sed -i "s/${replace_str}/${pkgname}/g" "${pkgdir}/usr/share/applications/${desktopname}.desktop"
+}