app=qrencode
version=4.1.1
build=1sml
homepage="https://fukuchi.org/works/qrencode/"
download="https://fukuchi.org/works/qrencode/qrencode-$version.tar.bz2"
desc="C library for encoding data in a QR Code symbol"
requires="libpng"
   
build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc

  make 
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
981b3242c213e1b40ac88711912dd8c27ea11f3437d1a04b6b226499a6e991a8f0b3b10f818bcc104812192a1dac4ce05f16ecd847a50cb03d4859b84bad89b8  qrencode-4.1.1.tar.bz2
"
