Pkgfile 631 B

123456789101112131415161718192021
  1. # Description: xcalc is a scientific calculator X11 client.
  2. # URL: https://gitlab.freedesktop.org/xorg/app/xcalc
  3. # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
  4. # Depends on: x11
  5. name=xcalc
  6. version=1.1.2
  7. release=2
  8. source=(https://gitlab.freedesktop.org/xorg/app/$name/-/archive/$name-$version/$name-$name-$version.tar.gz calculator.svg xcalc.desktop)
  9. build() {
  10. install -Dm644 ./calculator.svg $PKG/usr/share/pixmaps/calculator.svg
  11. install -Dm644 ./xcalc.desktop $PKG/usr/share/applications/xcalc.desktop
  12. cd $name-$name-$version
  13. ./autogen.sh
  14. ./configure --prefix=/usr
  15. make
  16. make DESTDIR=$PKG install
  17. }