summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21a3d9abf798278c3f59cd28937e6c86e25fe142 (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
29
30
pkgname="kitchenowl"
pkgver=0.4.4
pkgrel=2
pkgdesc="KitchenOwl is a self-hosted grocery list and recipe manager."
arch=("x86_64")
url="https://github.com/TomBursch/kitchenowl"
license=("GPL3")
source=(
  "kitchenowl.png"
  "kitchenowl.desktop"
  "launcher.sh"
  "${pkgname%}-${pkgver}.tar.gz::https://github.com/TomBursch/kitchenowl/releases/download/v${pkgver}/kitchenowl_Linux.tar.gz"
)
sha256sums=(
  "06f7b7e317e1732feda0bce957af7bf7b8a797147d865951df21532cb949863b"
  "8ec1df01450010aefb23728c69b8ff6eb2d9ceae9e1e1464374c6f0ae36a30c1"
  "15c3bbe7db615abc3745c5d013e0c04b6e47ad48265ecdc077d59dadcdb1bffa"
  "4fceaa89a54de1f63567268ccfcd10baecb50d162bd3272eddcb4ba72114ee52"
)

package() {
    install -d "$pkgdir/opt/${pkgname}"
    cp -r "$srcdir/data" "$pkgdir/opt/${pkgname}/"
    cp -r "$srcdir/lib" "$pkgdir/opt/${pkgname}/"
    cp "$srcdir/kitchenowl" "$pkgdir/opt/${pkgname}/"

    install -Dm644 "${srcdir}/kitchenowl.png" "${pkgdir}/usr/share/icons/kitchenowl.png"
    install -Dm644 "${srcdir}/kitchenowl.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
    install -Dm755 "${srcdir}/launcher.sh" "${pkgdir}/usr/bin/kitchenowl"
}