First PKGBUILDs

This commit is contained in:
moparisthebest
2016-11-05 01:29:34 -04:00
parent a3c56c41af
commit e10a1b57f4
28 changed files with 1586 additions and 0 deletions

22
src/pkgsync/PKGBUILD Normal file
View File

@@ -0,0 +1,22 @@
# Contributor: moparisthebest <admin dot archlinux AT moparisthebest dot com>
pkgname=pkgsync
pkgver=1.01
pkgrel=1
pkgdesc='Sync installed packages across Arch installs'
arch=('any')
license=('GPL3')
url="https://github.com/moparisthebest/$pkgname"
backup=("etc/$pkgname/pkg_blacklist.list" "etc/$pkgname/pkg_exclude.list" "etc/default/$pkgname")
source=("https://codeload.github.com/moparisthebest/$pkgname/tar.gz/v$pkgver")
sha256sums=('0d04af19ed5ffad2814b2845849a46ce2d606b4ef8e93e0dffb3b0f0ed8e760d')
package() {
install -d "${pkgdir}"/etc/{default,$pkgname}/
cd "$pkgname-$pkgver"
install -Dm744 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm744 config/*.list "${pkgdir}/etc/$pkgname/"
install -Dm744 "config/$pkgname" "${pkgdir}/etc/default/"
}