Skip to content

Commit

Permalink
Add icon for wikipedia and bump version to 0.1.0-2 (toltec-dev#311)
Browse files Browse the repository at this point in the history
* Initial wikipedia package.

Co-authored-by: Nathaniel van Diepen <Eeems@users.noreply.github.com>
  • Loading branch information
2 people authored and danshick committed May 5, 2021
1 parent c3fda53 commit 5e2b7b6
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
36 changes: 36 additions & 0 deletions package/wikipedia/package
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
}
8 changes: 8 additions & 0 deletions package/wikipedia/wikipedia.draft
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
Binary file added package/wikipedia/wikipedia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5e2b7b6

Please sign in to comment.