summaryrefslogtreecommitdiff
path: root/rePKGBUILD.proto
blob: c8b19bf675768893a96c154db03125fd835b0759 (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
# This is an example rePKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name <youremail@domain.com>
source PKGBUILD
unset build package md5sums source
_repo=       # Put the repo here
_mirror=http://mirrors.kernel.org/archlinux  # Put mirror here
source=(PKGBUILD
        "${_mirror}/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT"
        # files for pkg modifications below this line
        )

build() {
  cd "${srcdir}/"
  rm .{INSTALL,PKGINFO}
  # put actions for package modifications below this line

}

package() {
  find ${srcdir} -maxdepth 1 -type l -delete
  cp -a ${srcdir}/* ${pkgdir}
}


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