summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 40e44cb3e916..5d6aa6757c46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=wings3d
_pkgname=wings
pkgver=1.4.1
-pkgrel=17
+pkgrel=18
pkgdesc='3D modeling program'
arch=('x86_64' 'i686')
url='http://www.wings3d.com/'
@@ -17,32 +17,30 @@ install=$pkgname.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/dgud/wings/archive/master.tar.gz"
"$pkgname.sh"
"$pkgname.png::http://img299.imageshack.us/img299/2538/wingsiconblackshiningew5.png")
-sha256sums=('5fe17aa7bd26c031ca242f17b24eaa8f6fa9fe4c38b37a9669953c03e9e89b83'
+sha256sums=('02be0f1a2494b5243ecf027e6cc6e95e0fbe6d6dca6393b3a202c9d12c6bd5e6'
'46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e'
'6658977cc3bc8db2c9358edf3a2d6cb6bb8084c9a1d96ca573a83dd4e8781f1a')
-_genericname=('3D Modeler')
-_categories=('Graphics;3DGraphics')
-build() {
- cd "$srcdir"
- gendesk
+prepare() {
+ gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc" \
+ --genericname '3D Modeler' --categories 'Graphics;3DGraphics'
+}
+build() {
cd "$_pkgname-master"
+
export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*)
make
make lang
}
package() {
- cd "$srcdir/$_pkgname-master"
+ cd "$_pkgname-master"
mkdir -p "$pkgdir/usr/lib/$pkgname"
for subdir in ebin fonts patches plugins shaders textures; do
cp -r "$srcdir/$_pkgname-master/$subdir/" "$pkgdir/usr/lib/$pkgname"
done
-
- install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
cd "$srcdir"
install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"