# Maintainer: PktSurf <smlinux@pktsurf.in>
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"
   
prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

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

build() {
  ./configure \
    --prefix=

  make 
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
67caaa82e13f73d76c2776ee31d5692c1be4f641715769f484fbe80b7276cb8a52b0da66f13fade80671122ea02dc0319ef0e5020b2f1b0058194dc3b025213b  qrencode-4.1.1.tar.lz
"
