diff options
author | Frontier | 2015-06-09 09:15:36 +0300 |
---|---|---|
committer | Frontier | 2015-06-09 09:15:36 +0300 |
commit | 8af61ebc0a4b90bd9dd113f29d338b1703efe0ca (patch) | |
tree | 86a347463d60d1f5a157da9ff112d857f6710f58 /PKGBUILD | |
download | aur-8af61ebc0a4b90bd9dd113f29d338b1703efe0ca.tar.gz |
Initial import to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2a4b12820c45 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Frontier (frontier314 at gmail dot com) + +pkgname=wxfbe +_pkgname=wxFBE +pkgver=20140413 +pkgrel=1 +pkgdesc="FreeBASIC IDE based on wx-c" +arch=('i686' 'x86_64') +url="http://www.freebasic-portal.de" +license=('LGPL') +depends=('libtinfo' 'libpng12' 'lib32-libtinfo' 'lib32-libpng12' 'alsa-plugins' 'lib32-alsa-plugins') +options=(staticlibs) +source=('http://www.freebasic-portal.de/dlfiles/537/wxFBE.7z') +sha256sums=('SKIP') + +build() { +7z x -y wxFBE.7z +chmod uga+xr "${srcdir}/${_pkgname}/wxFBE" +} + +package() { +cd "${srcdir}/${_pkgname}" +rm *.exe *.dll +mkdir -p "${pkgdir}/opt/${pkgname}" +cp -r * "${pkgdir}/opt/${pkgname}" + +cat > ${pkgname}.desktop << EoF +[Desktop Entry] +Version=${pkgver} +Encoding=UTF-8 +Name=wxFBE +Comment=${pkgdesc} +Exec=/opt/${pkgname}/wxFBE +Icon=/opt/${pkgname}/images/editor.ico +Path=/opt/${pkgname} +Terminal=false +Type=Application +Categories=Development;IDE; +EoF + +install -D -m 0644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop +} |