summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 626a409af411e6914a68571ad2d8e23b68d40c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Cassandra Watergate (saltedcoffii) <cassandrajwatergate@gmail.com>

_pkgname=gnome-shell-extension-notes
pkgname=$_pkgname
pkgver=23
pkgrel=1
pkgdesc="A GNOME Shell extension providing customizable sticky notes on the desktop"
arch=('any')
url="https://github.com/maoschanz/notes-extension-gnome"
license=('GPL-3')
depends=('gnome-shell')
makedepends=('glib2')
source=($pkgname-$pkgver.tar.gz::https://github.com/maoschanz/notes-extension-gnome/archive/23.tar.gz)
sha256sums=('92174a83643eb8c256d80ecd58844c0976c159d862aac5cb16d89b295566767b')

_gitsrcdir=notes-extension-gnome

build() {
  cd $_gitsrcdir-$pkgver
  ./update-and-compile-translations.sh --all
  glib-compile-schemas notes@maestroschan.fr/schemas
}

package() {
  cd $_gitsrcdir-$pkgver
  mkdir -p $pkgdir/usr/share/gnome-shell/extensions
  cp --recursive --no-dereference --preserve=mode,links notes@maestroschan.fr $pkgdir/usr/share/gnome-shell/extensions
}