Skip to content

Commit

Permalink
Merge pull request nemomobile-ux#77 from jmlich/master
Browse files Browse the repository at this point in the history
openmoko theme files
  • Loading branch information
neochapay committed Aug 13, 2021
2 parents 1328d96 + 7861b9c commit 0bb1416
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy.sh
Expand Up @@ -25,6 +25,7 @@ fi
# apps
eval "$BUILD google-opensans-fonts"
eval "$BUILD nemo-theme-glacier-git"
eval "$BUILD nemo-theme-openmoko-git"
eval "$BUILD maliit-nemo-keyboard-git"
eval "$BUILD qt5-quickcontrols-nemo-git"
eval "$BUILD qt5-glacier-app-git"
Expand Down
29 changes: 29 additions & 0 deletions nemo-theme-openmoko-git/PKGBUILD
@@ -0,0 +1,29 @@
# $Id$
pkgname=nemo-theme-openmoko-git

pkgver=r5027.0bde889e

pkgrel=1
pkgdesc="Openmoko theme"
arch=('x86_64' 'aarch64')
url="https://github.com/openmoko/openmoko-svn/"
license=('CC-BY-SA-3.0')
makedepends=('git')
provides=("${pkgname%-git}" "nemo-theme-default")
conflicts=("${pkgname%-git}")
source=("${pkgname}::git+${url}")
md5sums=('SKIP')

pkgver() {
cd "${srcdir}/${pkgname}"
( set -o pipefail
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
) 2>/dev/null
}

package() {
cd "${srcdir}/${pkgname}"
mkdir -p "$pkgdir"/usr/share/sounds/glacier/stereo
cp src/target/OM-2007.2/artwork/sounds/*.ogg "$pkgdir"/usr/share/sounds/glacier/stereo/
}

0 comments on commit 0bb1416

Please sign in to comment.