summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 332c8306bab64590185745f5be99c839737e18b6 (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
# Maintainer: Chuan Ji <chuan@jichu4n.com>

pkgname=palm-os-sdk-git
pkgver=r1.6958f76
pkgrel=1
pkgdesc='Palm OS SDK files'
arch=('any')
url='https://github.com/jichu4n/palm-os-sdk'
license=('unknown')
depends=()
makedepends=('git')
optdepends=(
  'prc-tools-remix: C/C++ toolchain for Palm OS'
  'pilrc: Palm OS resource compiler')
options=(!emptydirs !strip)
source=("git+${url}.git")
sha512sums=('SKIP')

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

package() {
  cd "${srcdir}/palm-os-sdk"
  install -d "${pkgdir}/opt/palmdev"
  cp -dr --no-preserve=ownership * "${pkgdir}/opt/palmdev/"
}

# vim:set ts=2 sw=2 et: