gusbemacbe / suru-plus

Suru++ 25 — A cyberpunk, elegant, futuristic and Papirus-like third-party icons theme
GNU General Public License v3.0
344 stars 32 forks source link

Aur package #17

Closed dmiranda2 closed 6 years ago

dmiranda2 commented 6 years ago

I did a aur package for suru-plus https://aur.archlinux.org/packages/suru-plus-git/ If you want i can transfer the maintainership.

gusbemacbe commented 6 years ago

Hi @dmiranda2 !

Great job! Thank you a lot! I was going to develop an AUR package after college break.

I am an user of Manjaro. I am not sure that I need to use Arch Linux instead of Manjaro.

Yes, please, thank you!

Here is my profile: https://aur.archlinux.org/account/gusbemacbe

If you contain sh or something to compile and update to AUR, and if it is for matter of security, please transfer the private repository to me at GitLab: https://gitlab.com/gusbemacbe

Gustavo Costa

dmiranda2 commented 6 years ago

I'm using manjaro on some machines and Arch in others... You don't need Arch to develop an AUR package. You can clone the package using: git clone https://aur.archlinux.org/suru-plus-git.git

dmiranda2 commented 6 years ago

I added you as a comaintainer ( essentially a list of people who can also commit to the package repository). When I disown the package you will became the owner.

gusbemacbe commented 6 years ago

You can clone the package using: git clone https://aur.archlinux.org/suru-plus-git.git I added you as a comaintainer ( essentially a list of people who can also commit to the package repository). When I disown the package you will became the owner.

I am already a co-maintainer, may I clone too that you will disown?

gusbemacbe commented 6 years ago

@dmiranda2

Hey, I tried to update your AUR. I also tried to try to update new package to AUR. I did a lot of research and I did not get. Can you give me a small tutorial, please?

dmiranda2 commented 6 years ago

Olá Gustavo Voce não precisa atualaizar esse aur. Ele usa a ultima versão do git.
Ele só precisará ser alterado se você mudar a estrutura de pastas do repositório git. Vou ver se te mando um tutorial. Mas pode demorar um pouco.

gusbemacbe commented 6 years ago

Olá Daniel,

OK, esperarei o teu tutorial. Tenho uma outra dúvida sobre transferir e instalar múltiplos temas de ícones, ou seja, uma coleção de temas de ícones, por exemplo:

# Maintainer: Gustavo Costa (gusbemacbe@gmail.com)
_gitname=suru-plus-telinkrin
_gitname1=suru-plus
_gitname2=suru-plus-dark
pkgname=suru-plus-pack
pkgver=r29.52d732c
pkgrel=1
pkgdesc="A full colelction of Suru++ icons themes, based on Sam Hewitt's Suru icons
The Suru++ Pack comes with three icons theme - Suru++, Suru++ Dark and Suru++ Telinkrin"
arch=('any')
url="https://github.com/gusbemacbe/${_gitname}"
url1="https://github.com/gusbemacbe/${_gitname1}"
url2="https://github.com/gusbemacbe/${_gitname2}"
license=('GPL3')
makedepends=('git')
options=('!strip')
conflicts=(${_gitname}, ${_gitname1}, ${_gitname2})
source=("git+${url}.git", "git+${url1}.git", "git+${url2}.git")
sha256sums=('SKIP')

pkgver()
{
    cd ${_gitname}
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    cd ..
    cd ${_gitname1}
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    cd ..
    cd ${_gitname2}
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() 
{
    install -d ${pkgdir}/usr/share/icons
    cp -r ${srcdir}/${_gitname}* ${pkgdir}/usr/share/icons/
    cp -r ${srcdir}/${_gitname1}* ${pkgdir}/usr/share/icons/
    cp -r ${srcdir}/${_gitname2}* ${pkgdir}/usr/share/icons/
    find ${pkgdir}/usr -type f -exec chmod 644 {} \;
    find ${pkgdir}/usr -type d -exec chmod 755 {} \;
    find ${pkgdir}/usr -type f -name '.directory' -delete
    rm -rf "$pkgdir/usr/share/icons/suru-plus/.gitignore"
    rm -rf "$pkgdir/usr/share/icons/suru-plus/.git"
    rm -rf "$pkgdir/usr/share/icons/suru-plus/.github"
    rm -rf "$pkgdir/usr/share/icons/suru-plus/.product"
    rm -rf "$pkgdir/usr/share/icons/suru-plus/configure"

    rm -rf "$pkgdir/usr/share/icons/suru-plus-dark/.gitignore"
    rm -rf "$pkgdir/usr/share/icons/suru-plus-dark/.git"
    rm -rf "$pkgdir/usr/share/icons/suru-plus-dark/.github"
    rm -rf "$pkgdir/usr/share/icons/suru-plus-dark/.product"
    rm -rf "$pkgdir/usr/share/icons/suru-plus-dark/configure"

    rm -rf "$pkgdir/usr/share/icons/suru-plus-telinkrin/.gitignore"
    rm -rf "$pkgdir/usr/share/icons/suru-plus-telinkrin/.git"
    rm -rf "$pkgdir/usr/share/icons/suru-plus-telinkrin/.github"
    rm -rf "$pkgdir/usr/share/icons/suru-plus-telinkrin/.product"
    rm -rf "$pkgdir/usr/share/icons/suru-plus-telinkrin/configure"
}

Isto está certo?