Code Monkey home page Code Monkey logo

Comments (16)

leucos avatar leucos commented on May 29, 2024 1

It's up on AUR https://aur.archlinux.org/packages/clac/

from clac.

leucos avatar leucos commented on May 29, 2024 1

Done !

from clac.

leucos avatar leucos commented on May 29, 2024 1

Done !

from clac.

leucos avatar leucos commented on May 29, 2024 1

It's alive 👻 !

from clac.

soveran avatar soveran commented on May 29, 2024

Hey @leucos, thanks for creating this issue. I normally use tags like 0.1.0 but for some projects I had to prefix it with v, as in v0.1.0. For the Arch packaging, would some style work better than the other?

from clac.

leucos avatar leucos commented on May 29, 2024

@soveran just use what you like best. I will strip the 'v', no problem.

from clac.

soveran avatar soveran commented on May 29, 2024

@leucos I just pushed the tag 0.1.0. Thanks!

from clac.

leucos avatar leucos commented on May 29, 2024

Nice. Here you go https://aur.archlinux.org/packages/clac/

from clac.

leucos avatar leucos commented on May 29, 2024

FTR, the PKGBUILD file & build process:

# Maintainer: Michel Blanc <[email protected]>

pkgname=clac
pkgver=0.1.0.r0.gb24478a
pkgrel=1
pkgdesc='A command line, stack-based calculator with postfix notation'
url='https://github.com/soveran/clac'
arch=('i686' 'x86_64')
license=('BSD')

source=("clac::git+https://github.com/soveran/clac")
sha1sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$pkgname"
  make
}

package() {
  cd "$pkgname"
  manprefix="${pkgdir}/usr/share/man"
  mkdir -p "${manprefix}/man1"
  echo Created ${manprefix}/man1
  make MANPREFIX="${manprefix}" PREFIX="${pkgdir}/usr" install
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

@soveran poke when when you need a release ou if you want to take package maintenance ownership.

The build process:

git clone ssh://[email protected]/clac.git
cd clac/
makepkg -s PKGBUILD 
makepkg --printsrcinfo > .SRCINFO
git commit -am 'Release XYZ'
git push

from clac.

soveran avatar soveran commented on May 29, 2024

@leucos Thanks a lot, I will ping you on the next release!

from clac.

soveran avatar soveran commented on May 29, 2024

Hey @leucos, I just released version 0.2.0. I also added a wiki page with links to the official packages.

from clac.

soveran avatar soveran commented on May 29, 2024

@leucos Thanks!

from clac.

soveran avatar soveran commented on May 29, 2024

@leucos I messed up with the previous release, so I had to release a bugfix version 0.2.1. I think that will be all for today :-)

from clac.

soveran avatar soveran commented on May 29, 2024

@leucos Version 0.3.0 was released some days ago and I forgot to mention it here. Thanks a lot for your help!

from clac.

soveran avatar soveran commented on May 29, 2024

@leucos Version 0.3.1 was released, but it's not critical as it only includes a fix in the man page. This version was also added to the main homebrew repository. My intention was for 0.3.0 to be stable for a long time, but then somebody spotted an error in the man page :-)

from clac.

soveran avatar soveran commented on May 29, 2024

Thanks!!!

from clac.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.