summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f56fafb8cb5fe002689a97e744b6f0e75c4f54b4 (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
31
32
33
# Maintainer: izznogoood <ama@getmail.no>
# Contributor: FabioLolix

pkgname=startup-settings-git
pkgver=r45.516860c
pkgrel=1
pkgdesc="Manage Gnome3 startup Apps and Scripts"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/hant0508/startup-settings"
license=('unknown')
depends=('gtk3')
makedepends=('git')
provides=('startup-settings')
conflicts=('startup-settings')
source=("${pkgname}::git+https://github.com/hant0508/startup-settings.git")
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${pkgname}/src"
  make
}

package() {
  cd "${srcdir}/${pkgname}/src"
  install -Dm755 startup-settings "${pkgdir}/usr/bin/startup-settings"
  install -Dm644 gui.glade "${pkgdir}/usr/share/startup-settings/gui.glade"
  install -Dm755 startup-settings.desktop "${pkgdir}/usr/share/applications/startup-settings.desktop"
}