# Tanım: Python Xapp Kütüphanesi
# URL: https://github.com/linuxmint/python-xapp
# Paketçi: Cihan_Alkan
# Gerekler: python python3 python-setuptools python3-setuptools
# Grup: kütüphane

isim=pyxapp
surum=1.0.1
devir=1

kaynak=(https://github.com/linuxmint/python-xapp/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  cp -a python-xapp-$surum{,-py3}

  cd "$SRC"/python-xapp-$surum
  python setup.py build
  python setup.py install --root="$PKG" --optimize=1
 
  cd "$SRC"/python-xapp-$surum-py3
  python3 setup.py build

  python3 setup.py install --root="$PKG" --optimize=1
}
