From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- nmly-git | 1 - nmly-git/.SRCINFO | 15 +++++++++++++++ nmly-git/.gitignore | 4 ++++ nmly-git/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+), 1 deletion(-) delete mode 160000 nmly-git create mode 100644 nmly-git/.SRCINFO create mode 100644 nmly-git/.gitignore create mode 100644 nmly-git/PKGBUILD (limited to 'nmly-git') diff --git a/nmly-git b/nmly-git deleted file mode 160000 index cfe10e5..0000000 --- a/nmly-git +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cfe10e5d12edffdabb206c5ca7a916851e732df7 diff --git a/nmly-git/.SRCINFO b/nmly-git/.SRCINFO new file mode 100644 index 0000000..c0511f1 --- /dev/null +++ b/nmly-git/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = nmly-git + pkgdesc = Bulk rename utility with useful functions + pkgver = 1.1.1.r11.gbdb2577 + pkgrel = 1 + url = https://github.com/Usbac/nmly + arch = x86_64 + license = MIT + makedepends = git + provides = nmly + conflicts = nmly + source = git+https://github.com/Usbac/nmly.git + sha256sums = SKIP + +pkgname = nmly-git + diff --git a/nmly-git/.gitignore b/nmly-git/.gitignore new file mode 100644 index 0000000..05c6d4d --- /dev/null +++ b/nmly-git/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/nmly-git/PKGBUILD b/nmly-git/PKGBUILD new file mode 100644 index 0000000..32ee93e --- /dev/null +++ b/nmly-git/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Caltlgin Stsodaat + +_pkgname='nmly' +pkgname="${_pkgname}-git" +pkgver=1.1.1.r11.gbdb2577 +pkgrel=1 +pkgdesc='Bulk rename utility with useful functions' +arch=('x86_64') +url='https://github.com/Usbac/nmly' +license=('MIT') +makedepends=('git') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + make -C "${_pkgname}" LDFLAGS="${LDFLAGS}" +} + +package() { + cd "${_pkgname}" + install -Dvm755 "${_pkgname}" -t "${pkgdir}/usr/bin" + install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}" + install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${_pkgname}" +} + +# vim: ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2