diff options
author | Victor Diego Alejandro Diaz Urbaneja <sodomon2@gmail.com> | 2020-05-27 15:58:31 +0000 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-27 15:58:31 +0000 |
commit | 2154491ead6ce22a4d57b7cfdf8dbd67acdc8188 (patch) | |
tree | 88ffd5c45a15f81dd6f1a72107c8e7c9b7603602 | |
parent | 99407bb3d36aade42d606c65101b9af627cce3fd (diff) | |
download | alpine_aports-2154491ead6ce22a4d57b7cfdf8dbd67acdc8188.tar.bz2 alpine_aports-2154491ead6ce22a4d57b7cfdf8dbd67acdc8188.tar.xz alpine_aports-2154491ead6ce22a4d57b7cfdf8dbd67acdc8188.zip |
testing/scratch: new aport
Create and share your own interactive stories, games, music and art.
https://scratch.mit.edu
-rw-r--r-- | testing/scratch/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/scratch/APKBUILD b/testing/scratch/APKBUILD new file mode 100644 index 0000000000..f11a741270 --- /dev/null +++ b/testing/scratch/APKBUILD | |||
@@ -0,0 +1,32 @@ | |||
1 | # Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com> | ||
2 | # Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com> | ||
3 | pkgname=scratch | ||
4 | pkgver=1.4.0.7 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="Create and share your own interactive stories, games, music and art" | ||
7 | url="https://scratch.mit.edu" | ||
8 | arch="x86_64 armv7 s390x" # disabled for the other architectures due to compiling problems | ||
9 | license="GPL-2.0 AND CC-BY-SA AND MIT" | ||
10 | makedepends="make pango-dev glib-dev cairo-dev" | ||
11 | subpackages="$pkgname-doc" | ||
12 | options="!check" # make check not implemented | ||
13 | source="$pkgname-$pkgver.tar.gz::https://download.scratch.mit.edu/scratch-$pkgver.src.tar.gz" | ||
14 | builddir="$srcdir/$pkgname-$pkgver.src" | ||
15 | |||
16 | build() { | ||
17 | make build | ||
18 | } | ||
19 | |||
20 | package() { | ||
21 | install -Dm755 src/scratch "$pkgdir"/usr/bin/scratch | ||
22 | install -Dm644 Scratch.image "$pkgdir"/usr/lib/$pkgname/Scratch.image | ||
23 | install -m644 Scratch.ini "$pkgdir"/usr/lib/$pkgname/Scratch.ini | ||
24 | install -Dm644 src/scratch.desktop "$pkgdir"/usr/share/applications/scratch.desktop | ||
25 | install -Dm644 src/man/scratch.1.gz "$pkgdir"/usr/share/man/man1/scratch.1.gz | ||
26 | install -Dm644 src/scratch.xml "$pkgdir"/usr/share/mime/packages/scratch.xml | ||
27 | install -D -m644 src/icons/128x128/scratch.png "$pkgdir"/usr/share/icons/hicolor/128x128/apps/scratch.png | ||
28 | |||
29 | mv Help/ locale/ Media/ Projects/ README Plugins/ "$pkgdir/usr/lib/scratch/" | ||
30 | } | ||
31 | |||
32 | sha512sums="a5dba21855ad2d087e0d76066ee70c6f36c67c66deccb6eb001249bc25391b0f9036d9fd2ab8383ef54c414e743dff23e9e52ab1c73dd7200f36d7d47c62f562 scratch-1.4.0.7.tar.gz" | ||