forked from toltec-dev/toltec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add icon for wikipedia and bump version to 0.1.0-2 (toltec-dev#311)
* Initial wikipedia package. Co-authored-by: Nathaniel van Diepen <Eeems@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2021 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
pkgnames=(wikipedia) | ||
pkgdesc="The free encyclopedia" | ||
url=https://github.com/dps/remarkable-wikipedia | ||
pkgver=0.1.0-2 | ||
timestamp=2021-03-11T04:50Z | ||
section="readers" | ||
maintainer="David Singleton <david@singleton.io>" | ||
license=MIT | ||
|
||
image=qt:v1.2.2 | ||
source=( | ||
https://github.com/dps/remarkable-wikipedia/archive/eb00876ef49e7deedc127bc6c1486e3ed13aedcc.zip | ||
wikipedia.draft | ||
wikipedia.png | ||
) | ||
sha256sums=( | ||
9139cf41c8950126780273977b3d70f8126da8a87066db6c21845d8409ad34b2 | ||
SKIP | ||
SKIP | ||
) | ||
|
||
build() { | ||
sed -i 's/linux-oe-g++/linux-arm-gnueabihf-g++/' qtwikipedia.pro | ||
qmake qtwikipedia.pro | ||
make | ||
} | ||
|
||
package() { | ||
install -D -m 755 "$srcdir"/qtwikipedia "$pkgdir"/opt/bin/qtwikipedia | ||
install -D -m 644 -t "$pkgdir"/opt/etc/draft "$srcdir"/wikipedia.draft | ||
install -D -m 644 -t "$pkgdir"/opt/etc/draft/icons "$srcdir"/wikipedia.png | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright (c) 2021 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
name=wikipedia | ||
desc=The free encyclopedia | ||
call=/opt/bin/qtwikipedia | ||
term=: | ||
imgFile=wikipedia |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.