First PKGBUILDs
This commit is contained in:
22
src/pkgsync/PKGBUILD
Normal file
22
src/pkgsync/PKGBUILD
Normal 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/"
|
||||
}
|
Reference in New Issue
Block a user