summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 674ae4989ccd88c58168a5d2b4bf9b7779c3583a (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
# Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
pkgname=uuallpaper-git
pkgver=0.0.1
pkgrel=3
pkgdesc="A wallpaper switcher for GNOME powered by Unsplash."
arch=('x86_64')
url="https://gitlab.com/jrop/$pkgname"
license=('MIT')
makedepends=('git' 'go')
source=("$pkgname::git+https://gitlab.com/jrop/uuallpaper.git#branch=master")
sha256sums=('SKIP')

prepare() {
  cd "$srcdir/$pkgname"
}

build() {
  cd "$srcdir/$pkgname"
  go build -o "$pkgname" .
}

package() {
  cd "$srcdir/$pkgname"
  install -Dm755 "$pkgname" "$pkgdir/usr/bin/uuallpaper"
  # Install other project files like documentation or configuration as needed
}
# vim: filetype=sh