diff options
author | edwardwawrzynek | 2020-02-02 00:30:30 -0700 |
---|---|---|
committer | edwardwawrzynek | 2020-02-02 00:30:30 -0700 |
commit | e565fd5ebd2c7a779e85458ac1ae0bb1d95b2b54 (patch) | |
tree | ff1a17a66412cfd77e9f3f3f90b59bf85e8dd514 | |
parent | f76157d84c80a38d415be9e29c4c4ca8fd2a02a3 (diff) | |
download | aur-e565fd5ebd2c7a779e85458ac1ae0bb1d95b2b54.tar.gz |
add desktop entry and icons
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | 128x128.png | bin | 0 -> 23492 bytes | |||
-rw-r--r-- | 16x16.png | bin | 0 -> 9049 bytes | |||
-rw-r--r-- | 24x24.png | bin | 0 -> 9674 bytes | |||
-rw-r--r-- | 256x256.png | bin | 0 -> 41654 bytes | |||
-rw-r--r-- | 32x32.png | bin | 0 -> 10597 bytes | |||
-rw-r--r-- | 48x48.png | bin | 0 -> 12921 bytes | |||
-rw-r--r-- | 64x64.png | bin | 0 -> 15352 bytes | |||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | ftcfrcsimulator.desktop | 29 |
10 files changed, 78 insertions, 5 deletions
@@ -1,14 +1,30 @@ pkgbase = ftcfrcsimulator pkgdesc = FIRST Tech Challenge and FIRST Robotics Competition Simulator pkgver = 4.2 - pkgrel = 1 + pkgrel = 2 url = http://ftcsimulator.org arch = x86_64 license = unknown depends = gtk2 optdepends = openvr: For VR support source = ftcfrcsimulator-4.2.zip::http://ftcsimulator.org/?smd_process_download=1&download_id=794 + source = ftcfrcsimulator.desktop + source = 16x16.png + source = 24x24.png + source = 32x32.png + source = 48x48.png + source = 64x64.png + source = 128x128.png + source = 256x256.png sha1sums = f6b3ccfe3d958ebc4033eb68c3571e24bab36037 + sha1sums = 53940cf0b7bf2acb748949b8c572a89b5711ba4e + sha1sums = 5b3f36d076bd653468b14f1f2afd8dd74e84ca27 + sha1sums = 385243f17f54ebd8dae00292fa228c8e3cf980d8 + sha1sums = 583c25b180d5f186fc797fb6ff5975483e79496b + sha1sums = ca5d0e8da475c3755eb4ecd8f48b455cec3a482c + sha1sums = 16c8e3fa3ab27d148f2c86a3cd18fad73b5e7016 + sha1sums = 3fe9749c44c1e7d7060ec5c1ff8903ff37f1c488 + sha1sums = 0906ac5d429d0370779e77f3fd194848e9c8b70c pkgname = ftcfrcsimulator diff --git a/128x128.png b/128x128.png Binary files differnew file mode 100644 index 000000000000..058a23005ec2 --- /dev/null +++ b/128x128.png diff --git a/16x16.png b/16x16.png Binary files differnew file mode 100644 index 000000000000..4ff69b8b2a0e --- /dev/null +++ b/16x16.png diff --git a/24x24.png b/24x24.png Binary files differnew file mode 100644 index 000000000000..a80109187780 --- /dev/null +++ b/24x24.png diff --git a/256x256.png b/256x256.png Binary files differnew file mode 100644 index 000000000000..98124bcafec6 --- /dev/null +++ b/256x256.png diff --git a/32x32.png b/32x32.png Binary files differnew file mode 100644 index 000000000000..43fadb222409 --- /dev/null +++ b/32x32.png diff --git a/48x48.png b/48x48.png Binary files differnew file mode 100644 index 000000000000..393ee8bcdf33 --- /dev/null +++ b/48x48.png diff --git a/64x64.png b/64x64.png Binary files differnew file mode 100644 index 000000000000..299bd1ce644d --- /dev/null +++ b/64x64.png @@ -2,7 +2,7 @@ pkgname=ftcfrcsimulator pkgver=4.2 -pkgrel=1 +pkgrel=2 pkgdesc="FIRST Tech Challenge and FIRST Robotics Competition Simulator" arch=('x86_64') url="http://ftcsimulator.org" @@ -10,20 +10,48 @@ license=('unknown') depends=('gtk2') optdepends=('openvr: For VR support') -source=("${pkgname}-${pkgver}.zip::http://ftcsimulator.org/?smd_process_download=1&download_id=794") -sha1sums=("f6b3ccfe3d958ebc4033eb68c3571e24bab36037") +source=( + "${pkgname}-${pkgver}.zip::http://ftcsimulator.org/?smd_process_download=1&download_id=794" + "ftcfrcsimulator.desktop" + "16x16.png" + "24x24.png" + "32x32.png" + "48x48.png" + "64x64.png" + "128x128.png" + "256x256.png" +) +sha1sums=( + "f6b3ccfe3d958ebc4033eb68c3571e24bab36037" + "53940cf0b7bf2acb748949b8c572a89b5711ba4e" + "5b3f36d076bd653468b14f1f2afd8dd74e84ca27" + "385243f17f54ebd8dae00292fa228c8e3cf980d8" + "583c25b180d5f186fc797fb6ff5975483e79496b" + "ca5d0e8da475c3755eb4ecd8f48b455cec3a482c" + "16c8e3fa3ab27d148f2c86a3cd18fad73b5e7016" + "3fe9749c44c1e7d7060ec5c1ff8903ff37f1c488" + "0906ac5d429d0370779e77f3fd194848e9c8b70c" +) package() { cd "${srcdir}" mkdir -p "${pkgdir}/usr/share/ftcfrcsimulator" "${pkgdir}/usr/bin" + # Copy data to /usr/share, set directory permissions to 755, file permissions to 644 cp -r "FTC Simulator v${pkgver} Linux x64_Data" "${pkgdir}/usr/share/ftcfrcsimulator/" chmod -R 0755 "${pkgdir}/usr/share/ftcfrcsimulator" find "${pkgdir}/usr/share/ftcfrcsimulator/" -type f -exec chmod 644 {} \; + # Copy binary over install -Dm755 "FTC Simulator v${pkgver} Linux x64.x86_64" "${pkgdir}/usr/share/ftcfrcsimulator/FTC Simulator v${pkgver} Linux x64.x86_64" - #ln -s "/usr/share/ftcfrcsimulator/FTC Simulator v${pkgver} Linux x64.x86_64" "${pkgdir}/usr/bin/ftcfrcsimulator" + # Put a script in /usr/bin to run app cat <<EOF > "${pkgdir}"/usr/bin/ftcfrcsimulator #!/bin/bash "/usr/share/ftcfrcsimulator/FTC Simulator v${pkgver} Linux x64.x86_64" EOF chmod 0755 "${pkgdir}"/usr/bin/ftcfrcsimulator + # Desktop Entry + install -Dm644 ftcfrcsimulator.desktop "${pkgdir}/usr/share/applications/frcfrcsimulator.desktop" + # Logos + for i in 16x16 24x24 32x32 48x48 64x64 128x128 256x256; do + install -Dm644 "${i}.png" "${pkgdir}/usr/share/icons/hicolor/${i}/apps/ftcfrcsimulator.png" + done } diff --git a/ftcfrcsimulator.desktop b/ftcfrcsimulator.desktop new file mode 100644 index 000000000000..a22ace37b1c0 --- /dev/null +++ b/ftcfrcsimulator.desktop @@ -0,0 +1,29 @@ +[Desktop Entry] + +# The type as listed above +Type=Application + +# The version of the desktop entry specification to which this file complies +Version=1.0 + +# The name of the application +Name=FTC/FRC Simulator + +# A comment which can/will be used as a tooltip +Comment=FIRST Tech Challenge and FIRST Robotics Competition Simulator + +# The path to the folder in which the executable is run +Path=/usr/share/ftcfrcsimulator + +# The executable of the application, possibly with arguments. +Exec=ftcfrcsimulator + +# The name of the icon that will be used to display this entry +Icon=ftcfrcsimulator + +# Describes whether this application needs to be run in a terminal or not +Terminal=false + +# Describes the categories in which this entry should be shown +Categories=Education;Game + |