source+=('xaos.patch')
sha256sums+=('b07cdc88be38a30a40bccc2f999bff50ae8a25fc10ed4f2f7c7e2ff117f085e5')

eval "$(
  {
    declare -f prepare || \
    printf 'prepare() {\n}\n'
  } \
  | sed '
    $i patch -p1 -N -i "$srcdir/xaos.patch" -d "$srcdir/$pkgname-$pkgver" \
       gendesk -f -n --pkgname=$pkgname --pkgdesc="$pkgdesc" \\\
         --categories='"'"'Application;Graphics'"'"'
  '
)"