diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4737db9c20d9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = cockpit-file-sharing + pkgdesc = A Cockpit plugin to easily manage samba and NFS file sharing. + pkgver = 2.4.5 + pkgrel = 1 + url = https://github.com/45Drives/cockpit-file-sharing + arch = any + license = GPL3 + makedepends = cockpit + makedepends = make + depends = cockpit + depends = python + depends = samba + depends = nfs-utils + provides = cockpit-file-sharing + conflicts = cockpit-file-sharing-bin + conflicts = cockpit-file-sharing-git + source = https://github.com/45Drives/cockpit-file-sharing/archive/refs/tags/v2.4.5.tar.gz + sha512sums = d87b8d658666c5cd5e12ecd10c40d78a5615259d80c655c98c1db9f390f90505ea4a91815d08db9349c13fe2d6bb6cdc90bc9c4a43ba5edaad343d9963533541 + +pkgname = cockpit-file-sharing diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4521eb5ffb4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Brodi <me@brodi.space> + +_plugin=file-sharing +pkgname=cockpit-${_plugin} +pkgver=2.4.5 +pkgrel=1 +pkgdesc="A Cockpit plugin to easily manage samba and NFS file sharing." +arch=("any") +url="https://github.com/45Drives/cockpit-file-sharing" +license=("GPL3") +depends=("cockpit" "python" "samba" "nfs-utils") +makedepends=("cockpit" "make") +provides=("${pkgname}") +conflicts=("${pkgname}-bin" "${pkgname}-git") +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha512sums=("d87b8d658666c5cd5e12ecd10c40d78a5615259d80c655c98c1db9f390f90505ea4a91815d08db9349c13fe2d6bb6cdc90bc9c4a43ba5edaad343d9963533541") + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + install -d ${pkgdir}/usr/share/cockpit/${_plugin}/ + cp -rpf ./${_plugin}/* ${pkgdir}/usr/share/cockpit/${_plugin}/ +} |