summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorshakakibara122024-01-29 17:13:13 +0530
committershakakibara122024-01-29 17:13:13 +0530
commitca48fc62556508f48ccf8aff5f009c8bd9c539d9 (patch)
treefe56f5259566f5dc52ff2ba29d76ab960561d60c /PKGBUILD
parent8140b83f93f138944b297f96c27f1b3c7b593f91 (diff)
downloadaur-ca48fc62556508f48ccf8aff5f009c8bd9c539d9.tar.gz
fix pkgname
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9cc6f2189cfa..9c209b5bc675 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,6 @@
#Maintainer: Shakakibara <aryan.1843@disroot.org>
-_pkgname='codetantra-sea'
-pkgname="${_pkgname}-bin"
+pkgname='codetantra-sea'
pkgver=3.0.2
pkgrel=2
pkgdesc='Platform for online teaching.'
@@ -9,9 +8,9 @@ arch=('x86_64')
url='https://www.codetantra.com'
depends=('alsa-lib' 'firejail' 'nss' 'at-spi2-atk' 'cups' 'gtk3')
optdepends=()
-provides=("${_pkgname}")
-conflicts=("${_pkgname}")
-source=("https://github.com/ct-code/sea/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb"
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+source=("https://github.com/ct-code/sea/releases/download/v${pkgver}/${pkgname}_${pkgver}_amd64.deb"
"sea.sh")
sha256sums=('7334f689c12391781c27dae2e6fef7a0f9ec91be9bfe23e6161cd491eb2af743'
'c18de58a189eb3d3e581e2f61c2db911cc988369e2cdef3403c3ead2c8594abd')
@@ -21,14 +20,14 @@ package() {
tar -xvf 'data.tar.xz' -C "${pkgdir}"
#add firejail to desktop file.
- sed -i 's/^Exec=.*/Exec=firejail --noprofile \/opt\/codetantra-sea\/codetantra-sea/' "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
+ sed -i 's/^Exec=.*/Exec=firejail --noprofile \/opt\/codetantra-sea\/codetantra-sea/' "${pkgdir}/usr/share/applications/${pkgname}.desktop"
#remove the other exec line
- sed -i '/exec/d' "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
+ sed -i '/exec/d' "${pkgdir}/usr/share/applications/${pkgname}.desktop"
#Install the launch script
install -Dm 755 sea.sh "${pkgdir}/usr/bin/sea"
#fix naming
- mv "${pkgdir}/opt/CodeTantra SEA" "${pkgdir}/opt/${_pkgname}"
+ mv "${pkgdir}/opt/CodeTantra SEA" "${pkgdir}/opt/${pkgname}"
}