diff options
author | PromiSe#### | 2020-10-22 16:59:28 +0300 |
---|---|---|
committer | PromiSe#### | 2020-10-22 16:59:28 +0300 |
commit | ad29b955dfdb7789d71a849b132a1a00f50bf2ab (patch) | |
tree | 1ff621e670fcae170b86229b26d92f56201d6481 /PKGBUILD | |
parent | fc0703b752af327079ff7e6832e91a37a119c0c4 (diff) | |
download | aur-ad29b955dfdb7789d71a849b132a1a00f50bf2ab.tar.gz |
Перенос пакета
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 5 insertions, 25 deletions
@@ -1,19 +1,18 @@ # Maintainer: Roman Alenichev (vicimpa@ya.ru) -pkgname=chatrullete-plus -pkgver=0.0.2 -pkgrel=9 -pkgdesc="ChatRullete (Plus)" +pkgname=chatroulette +pkgver=0.0.1 +pkgrel=1 +pkgdesc="ChatRullete" arch=('x86_64') url="https://github.com/vicimpa/chatrullete-plus" license=('custom') depends=('libnotify' 'libxss' 'nspr' 'nss' 'gtk3' 'opera-ffmpeg-codecs' 'libegl' 'libgles') optdepends=('gnome-keyring') -source=("chatrullete-${pkgver}-${pkgrel}.tar.gz::https://github.com/vicimpa/chatrullete-plus/releases/download/0.0.1/ChatRullete-linux-0.0.1.tar.gz") +source=("chatrullete-${pkgver}-${pkgrel}.tar.gz::https://github.com/vicimpa/chatroulette/releases/download/0.0.1/ChatRullete-linux-0.0.1.tar.gz") sha256sums=('a166184a809fe48df21d66371b005e2bd9017ed54e8c86ac0734b56728d7d29b') package() { - # Creating directory structure mkdir -p "${pkgdir}/usr/lib/chatrullete" mkdir -p "${pkgdir}/usr/bin" mkdir -p "${pkgdir}/usr/share/applications" @@ -22,27 +21,8 @@ package() { mv "${srcdir}/"* "${pkgdir}/usr/lib/chatrullete" mv "${pkgdir}/usr/lib/chatrullete/ChatRullete" "${pkgdir}/usr/lib/chatrullete/chatrullete" - - # Copy resources cp "${startdir}/chatrullete.desktop" "${pkgdir}/usr/share/applications" cp "${startdir}/icon.png" "${pkgdir}/usr/share/pixmaps/chatrullete.png" - # Permission fix chmod +x "${pkgdir}/usr/lib/chatrullete/chatrullete" -} - -post_install() { - # Create symlink to executable - ln -s "/usr/lib/chatrullete/chatrullete" "/usr/bin/chatrullete" - - # Permission fix - chmod +x "/usr/bin/chatrullete" -} - -post_remove() { - echo "Good by!" - - if [ -f "/usr/bin/chatrullete" ]; then - rm "/usr/bin/chatrullete" - fi }
\ No newline at end of file |