diff --git a/.gitignore b/.gitignore index c0e678f7c..3ea7add31 100644 --- a/.gitignore +++ b/.gitignore @@ -105,7 +105,6 @@ Thumbs.db # Stuff in dist maketarball.sh changelog -PKGBUILD # Translations translations.pot diff --git a/debian/rules b/debian/rules index 548b44d79..837eb055f 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,6 @@ override_dh_auto_clean: rm -f dist/macos/Info.plist - rm -f dist/unix/PKGBUILD rm -f dist/unix/strawberry.spec rm -f dist/scripts/maketarball.sh rm -f dist/windows/strawberry.nsi diff --git a/dist/CMakeLists.txt b/dist/CMakeLists.txt index 70c883f5d..55c99341a 100644 --- a/dist/CMakeLists.txt +++ b/dist/CMakeLists.txt @@ -2,7 +2,6 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scripts/maketarball.sh.in ${CMAKE_CUR if(RPM_DISTRO AND RPM_DATE) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/unix/strawberry.spec.in ${CMAKE_CURRENT_SOURCE_DIR}/unix/strawberry.spec @ONLY) endif(RPM_DISTRO AND RPM_DATE) -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/unix/PKGBUILD.in ${CMAKE_CURRENT_SOURCE_DIR}/unix/PKGBUILD @ONLY) if(APPLE) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/macos/Info.plist.in ${CMAKE_CURRENT_SOURCE_DIR}/macos/Info.plist) diff --git a/dist/scripts/maketarball.sh.in b/dist/scripts/maketarball.sh.in index 04307f4c0..a792bc7be 100755 --- a/dist/scripts/maketarball.sh.in +++ b/dist/scripts/maketarball.sh.in @@ -60,7 +60,6 @@ ${TAR} -cJf $name-$version.tar.xz \ --exclude="$root/.zanata-cache" \ --exclude="$root/debian/changelog" \ --exclude="$root/dist/scripts/maketarball.sh" \ - --exclude="$root/dist/unix/PKGBUILD" \ --exclude="$root/dist/macos/Info.plist" \ --exclude="$root/dist/windows/windres.rc" \ --exclude="$root/src/translations/translations.pot" \ diff --git a/dist/unix/PKGBUILD.in b/dist/unix/PKGBUILD.in deleted file mode 100644 index 0ce5032ab..000000000 --- a/dist/unix/PKGBUILD.in +++ /dev/null @@ -1,56 +0,0 @@ -# Maintainer: Jonas Kvinge -pkgname=strawberry -pkgver=@STRAWBERRY_VERSION_PAC_V@ -pkgrel=@STRAWBERRY_VERSION_PAC_R@ -pkgdesc="A music player aimed at audio enthusiasts and music collectors" -arch=(x86_64) -url="https://www.strawberrymusicplayer.org/" -license=(GPL3) -makedepends=(git cmake make gcc boost gettext qt5-tools) -depends=( - desktop-file-utils - hicolor-icon-theme - gnutls - udisks2 - protobuf - qt5-base - qt5-x11extras - sqlite3 - alsa-lib - libpulse - dbus - taglib - gstreamer - gst-plugins-base - gst-plugins-good - vlc - chromaprint - libgpod - libcdio - libmtp - fftw -) -optdepends=( - gst-plugins-bad - gst-plugins-ugly - gst-libav -) -provides=(strawberry) -conflicts=(strawberry) -source=("strawberry-@STRAWBERRY_VERSION_PACKAGE@.tar.xz") -sha256sums=('SKIP') - -prepare() { - mkdir -p build -} - -build() { - cd build - cmake ../${pkgname}-@STRAWBERRY_VERSION_PACKAGE@ -DCMAKE_INSTALL_PREFIX=/usr - make -j$(nproc) -} - -package() { - cd build - make DESTDIR="${pkgdir}" install -}