falconindy / pkgbuild-introspection

Tools for generating .SRCINFO files and PKGBUILD data extraction
MIT License
39 stars 9 forks source link

Add include file option -i #20

Closed grandchild closed 10 years ago

grandchild commented 10 years ago

This change adds the possibility to add additional files (like conf or service files) into the aurball via the mkaurball command line.

Example:

$> mkaurball -i selfspy.conf -i selfspy@.service
==> Making package: selfspy-git 0.1.4.r169.g363aa5f-2 (Fri Oct 24 02:46:00 CEST 2014)
....... [etc]
==> Leaving fakeroot environment.
==> Source package created: selfspy-git (Fri Oct 24 02:46:00 CEST 2014)

$> tar tf selfspy-git-0.1.4.r169.g363aa5f-2.src.tar.gz
selfspy-git/
selfspy-git/selfspy@.service
selfspy-git/selfspy.conf
selfspy-git/.AURINFO
selfspy-git/.Changelog
selfspy-git/PKGBUILD
selfspy-git/selfspy.install
falconindy commented 10 years ago

I dont get it. Why aren't these part of the PKGBUILD proper?

grandchild commented 10 years ago

Oops. I actually didn't know you could include these local files in the source array. How embarrassing. Sorry to have wasted your time.